@getflip/swirl-components 0.365.1 → 0.367.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 +69 -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-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-group/swirl-avatar-group.css +36 -7
- package/dist/collection/components/swirl-avatar-group/swirl-avatar-group.js +74 -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 +27 -4
- 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-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-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-e27b3585.entry.js +1 -0
- package/dist/swirl-components/p-e5d66dde.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 +6 -0
- package/dist/types/components/swirl-avatar-group/swirl-avatar-group.stories.d.ts +1 -0
- package/dist/types/components.d.ts +12 -0
- package/package.json +1 -1
- package/vscode-data.json +16 -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-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
|
@@ -63,7 +63,7 @@ const SwirlAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAccordi
|
|
|
63
63
|
const className = classNames("accordion-item", {
|
|
64
64
|
"accordion-item--expanded": this.expanded,
|
|
65
65
|
});
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: 'abba07ec2f943c86ff88aed65ea1c10d170e3a55' }, h("div", { key: '4cd9a307c2d01266220cbd3df1b27afa401fdefa', class: className }, h(HeadingTag, { key: '2271f5ee54750532baecbbc34da135fa278461d8', class: "accordion-item__heading" }, h("button", { key: 'ab13edffd0c9bb073473d16a0e3838ee04678a15', "aria-controls": this.itemId, "aria-expanded": String(this.expanded), class: "accordion-item__toggle", disabled: this.disabled, id: this.headingId, onClick: this.onHeadingClick, type: "button" }, h("span", { key: '3fa93043d6b8c929b37ced1d779957ec40ff3e02', class: "accordion-item__toggle-text" }, this.heading, this.description && (h("swirl-text", { key: '1470c3ce33a835bb53fd8759b82c26608d018281', as: "span", color: "subdued", size: "sm" }, this.description))), h("span", { key: 'a292fa27389bf972b2b9b7d5d4f6e1d9962f4919', class: "accordion-item__icon" }, !this.expanded && (h("swirl-icon", { key: 'e9903a0728bcd15896d9586a107ea88f1197f1df', glyph: "chevron-right", size: 20 })), this.expanded && (h("swirl-icon", { key: '8cb634c1bcf0c65daaabad79394183ac040237aa', glyph: "expand-more", size: 20 }))))), h("div", { key: 'b0693a31cf7d608b542ca10a13cf6a6b36a6774b', "aria-labelledby": this.headingId, class: "accordion-item__content", id: this.itemId, role: "region" }, h("slot", { key: '95c3a5da8e122291bf06f2fa691b38a1dd53bfb6' })))));
|
|
67
67
|
}
|
|
68
68
|
get el() { return this; }
|
|
69
69
|
static get style() { return swirlAccordionItemCss; }
|
|
@@ -45,7 +45,7 @@ const SwirlAccordion$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAccordion e
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: '7f8aac6430364eac4124b89ac4fecdc73e82c8a3' }, h("slot", { key: '374b1d722218716869143060496ace17fd84b46d' })));
|
|
49
49
|
}
|
|
50
50
|
get el() { return this; }
|
|
51
51
|
static get style() { return swirlAccordionCss; }
|
|
@@ -14,7 +14,7 @@ const SwirlActionListSection$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAct
|
|
|
14
14
|
this.hasSeparator = false;
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (h(Host, { key: '
|
|
17
|
+
return (h(Host, { key: '6e93266c1a1debf29380963f64c6f853d1e528d4' }, this.hasSeparator && (h("swirl-separator", { key: 'f264ee771b77f2c363bf2fc64c0dcda922c36649', spacing: this.separatorSpacing })), h("div", { key: '702424f77b73f0fce4510715b5a8fe70b2219926', "aria-labelledby": "label", class: "action-list-section", role: "group" }, h("span", { key: '2928fcfc41ae7e9795b757090eeaec491b7ac63c', class: "action-list-section__label", id: "label", part: "action-list-section__label" }, this.label), h("swirl-stack", { key: 'c637246f7ae9e3588d990685baccc4253ea7d15e', spacing: this.spacing, align: "stretch" }, h("slot", { key: '988b050cdb85bf8d41cca165b94f51018ceb6dc4' })))));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return swirlActionListSectionCss; }
|
|
20
20
|
}, [1, "swirl-action-list-section", {
|
|
@@ -92,7 +92,7 @@ const SwirlActionList = /*@__PURE__*/ proxyCustomElement(class SwirlActionList e
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: '162314574b7f7192fcef7636bea795bcba95ae82' }, h("div", { key: '67b71217628367b29b108d8c67d3ce7186849fed', "aria-orientation": "vertical", class: "action-list", onFocusout: this.isInsidePopover ? undefined : this.onFocusOut, onFocus: this.isInsidePopover ? undefined : this.onFocus, onKeyDown: this.onKeyDown, part: "action-list", ref: (el) => (this.container = el), role: "menu" }, h("slot", { key: '9731e7c3223b90e34c83dc6b31b95ef342b51961', onSlotchange: this.setSectionSeparator }))));
|
|
96
96
|
}
|
|
97
97
|
get el() { return this; }
|
|
98
98
|
static get style() { return swirlActionListCss; }
|
|
@@ -36,7 +36,7 @@ const SwirlAppIcon$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAppIcon exten
|
|
|
36
36
|
const className = classNames("app-icon", {
|
|
37
37
|
"app-icon--has-icon": showIcon || showFallbackIcon,
|
|
38
38
|
});
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'ebf22de161e63b6a95a668c83683f1ed4ed9fb3d' }, h("span", { key: '7998c7b113f48ad715fe897f3e547790de5b8e51', class: className }, showImage && (h("img", { key: '685f743ace846d014058b6c40a8b3852f7108367', alt: "", height: "256", ref: this.onImageElementUpdate, src: this.src, width: "256" })), showIcon && (h("span", { key: '2583c7ac995dd3b239258dbc21eb4e229ff9edf0', class: "app-icon__icon", innerHTML: this.icon })))));
|
|
40
40
|
}
|
|
41
41
|
static get style() { return swirlAppIconCss; }
|
|
42
42
|
}, [1, "swirl-app-icon", {
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as classNames } from './index2.js';
|
|
3
3
|
|
|
4
|
-
const swirlAvatarGroupCss = ":host{display:inline-flex}:host *{box-sizing:border-box}.avatar-group{position:relative
|
|
4
|
+
const swirlAvatarGroupCss = ":host{display:inline-flex}:host *{box-sizing:border-box}.avatar-group{position:relative}.avatar-group--diagonal-stack{display:inline-grid;grid-template-rows:repeat(9, 1fr);grid-template-columns:repeat(9, 1fr)}.avatar-group--diagonal-stack ::slotted(*:first-of-type){z-index:1;display:inline-flex;border-radius:50%;box-shadow:0 0 0 0.25rem var(--swirl-avatar-group-border-color);grid-column-start:1;grid-column-end:7;grid-row-start:4;grid-row-end:10}.avatar-group--diagonal-stack ::slotted(*:nth-of-type(2)){z-index:0;display:inline-flex;border-radius:50%;grid-column-start:4;grid-column-end:10;grid-row-start:1;grid-row-end:7}.avatar-group--diagonal-stack ::slotted(*:nth-of-type(n+3)){display:none}.avatar-group--diagonal-stack .avatar-group__badge{position:absolute;right:calc(-1 * var(--s-space-4));bottom:calc(-1 * var(--s-space-4))}.avatar-group--horizontal-stack{display:inline-flex}.avatar-group--horizontal-stack .avatar-group__badge{display:none}.avatar-group--horizontal-stack ::slotted(*){z-index:1;display:inline-flex;border-radius:50%;box-shadow:0 0 0 0.125rem var(--swirl-avatar-group-border-color)}.avatar-group--horizontal-stack ::slotted(*:not(:first-of-type)){margin-left:calc(-1 * var(--s-space-4))}.avatar-group__badge{z-index:3;display:inline-flex;width:1.5rem;height:1.5rem}.avatar-group__badge ::part(badge){box-shadow:0 0 0 0.25rem var(--swirl-badge-border-color)}";
|
|
5
5
|
|
|
6
6
|
const SwirlAvatarGroup$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAvatarGroup extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
8
8
|
super();
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
this.__attachShadow();
|
|
11
|
+
this.layout = "diagonal";
|
|
12
|
+
this.avatars = [];
|
|
13
|
+
this.onSlotChange = (event) => {
|
|
14
|
+
this.avatars = event.target
|
|
15
|
+
.assignedElements()
|
|
16
|
+
.filter((el) => el.tagName.toLowerCase() === "swirl-avatar");
|
|
17
|
+
this.layOutAvatars();
|
|
18
|
+
};
|
|
11
19
|
}
|
|
12
20
|
componentDidLoad() {
|
|
13
21
|
this.forceBadgeProps();
|
|
@@ -22,16 +30,31 @@ const SwirlAvatarGroup$1 = /*@__PURE__*/ proxyCustomElement(class SwirlAvatarGro
|
|
|
22
30
|
badge?.setAttribute("size", "s");
|
|
23
31
|
}
|
|
24
32
|
}
|
|
33
|
+
layOutAvatars() {
|
|
34
|
+
if (this.avatars.length <= 2) {
|
|
35
|
+
this.avatars.forEach((avatar) => {
|
|
36
|
+
avatar.style.zIndex = "";
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this.avatars.forEach((avatar, index) => {
|
|
41
|
+
avatar.style.zIndex = String(this.avatars.length - index);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
}
|
|
25
45
|
render() {
|
|
26
|
-
const className = classNames("avatar-group", {
|
|
46
|
+
const className = classNames("avatar-group", `avatar-group--${this.layout}-stack`, {
|
|
27
47
|
"avatar-group--has-badge": Boolean(this.badge),
|
|
28
48
|
});
|
|
29
49
|
const badgeClassName = classNames("avatar-group__badge");
|
|
30
|
-
return (h(Host, { key: '
|
|
50
|
+
return (h(Host, { key: '2edd03b924ba16f132c055efda042ed7b0beb38a' }, h("div", { key: '5b5cc714269ec9ea1b603ce1b1991278b6b22eb4', "aria-label": this.label, class: className, role: "group" }, h("slot", { key: '6bc20021c1ed36e17fbff8ad7f027c631cc15abe', onSlotchange: this.onSlotChange }), this.badge && (h("span", { key: '7980eb5e7a5d7febf1bcb3b6f92582d302237f00', class: badgeClassName, innerHTML: this.badge, ref: (el) => (this.badgeEl = el) })))));
|
|
31
51
|
}
|
|
32
52
|
static get style() { return swirlAvatarGroupCss; }
|
|
33
53
|
}, [1, "swirl-avatar-group", {
|
|
34
|
-
"badge": [1]
|
|
54
|
+
"badge": [1],
|
|
55
|
+
"label": [1],
|
|
56
|
+
"layout": [1],
|
|
57
|
+
"avatars": [32]
|
|
35
58
|
}]);
|
|
36
59
|
function defineCustomElement$1() {
|
|
37
60
|
if (typeof customElements === "undefined") {
|
|
@@ -17,7 +17,7 @@ const SwirlBadge = /*@__PURE__*/ proxyCustomElement(class SwirlBadge extends HTM
|
|
|
17
17
|
const className = classNames("badge", `badge--intent-${this.intent}`, `badge--size-${this.size}`, `badge--variant-${this.variant}`, {
|
|
18
18
|
"badge--has-icon": this.icon,
|
|
19
19
|
});
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '6b83b0188fafee31f864047bc0b16f78a8b8c4f0', role: "status" }, h("span", { key: '663d7ffd7c164512488d6eef9ca198cf1309efba', class: className, part: "badge" }, this.icon && h("span", { key: 'f57ad0add763c7e402df4a071e1c33979605750c', class: "badge__icon", innerHTML: this.icon }), this.icon === undefined && this.variant !== "dot" ? (h("span", { class: "badge__label" }, this.label)) : (h(Fragment, null, this.icon === undefined && (h("span", { class: "badge__label" }, "\u00A0")), h("swirl-visually-hidden", null, this.label))))));
|
|
21
21
|
}
|
|
22
22
|
static get style() { return swirlBadgeCss; }
|
|
23
23
|
}, [1, "swirl-badge", {
|
|
@@ -57,7 +57,7 @@ const SwirlBanner$1 = /*@__PURE__*/ proxyCustomElement(class SwirlBanner extends
|
|
|
57
57
|
const className = classNames("banner", `banner--intent-${this.intent}`, `banner--size-${this.size}`, {
|
|
58
58
|
"banner--has-icon": showIcon,
|
|
59
59
|
});
|
|
60
|
-
return (h(Host, { key: '
|
|
60
|
+
return (h(Host, { key: '11ecf5b273bb2636d5d3e779fc91df1f7b10a8e0' }, h("div", { key: 'bc5e53f04ad5e80defe407340d191d1951a10123', "aria-describedby": "content", class: className, role: this.importance, tabIndex: 0 }, h("div", { key: '86b3950336dca8b1d28994d1fb18113a4b4c421a', class: "banner__content", id: "content", part: "banner__content" }, showIcon && (h("span", { key: '5716e25d171cc28861459258e257c8a821ebc56d', "aria-hidden": "true", class: "banner__icon", innerHTML: icon, ref: (el) => (this.iconEl = el) })), h("span", { key: 'a5a5019667573c14dde87041e475481a7edf6d5e', class: "banner__text" }, this.content)), showControls && (h("div", { key: 'cf8632f83dc502caba7f10710a353d1a34f30493', class: "banner__controls" }, this.actionLabel && (h("button", { key: '166c562828b381640c29783ac8b275f49b088cad', class: "banner__action-button", onClick: this.onAction, part: "banner__action-button", type: "button" }, this.actionLabel)), this.dismissable && (h("button", { key: 'b1247a38ea5f7592d7c12f0919360041ea9061b8', "aria-label": this.dismissLabel, class: "banner__dismiss-button", onClick: this.onDismiss, part: "banner__dismiss-button", ref: (el) => (this.dismissButtonEl = el), type: "button" }, h("swirl-icon-close", { key: '12524ce0998e451f9260924e2a5226ddee4ade43' }))))))));
|
|
61
61
|
}
|
|
62
62
|
get element() { return this; }
|
|
63
63
|
static get style() { return swirlBannerCss; }
|
|
@@ -91,7 +91,7 @@ const SwirlBox = /*@__PURE__*/ proxyCustomElement(class SwirlBox extends HTMLEle
|
|
|
91
91
|
"box--scrolled-to-top": this.scrollState.scrolledToTop,
|
|
92
92
|
"box--scrolled-to-bottom": this.scrollState.scrolledToBottom,
|
|
93
93
|
});
|
|
94
|
-
return (h(Host, { key: '
|
|
94
|
+
return (h(Host, { key: 'e9eeaa11b7a04b59744d8cf369855874fb8eab02', class: className, onScroll: this.onScroll, style: styles }, h("slot", { key: '0d5e86f34e2efb3dd7f9bfaf24a3a18578e6f507' })));
|
|
95
95
|
}
|
|
96
96
|
get el() { return this; }
|
|
97
97
|
static get style() { return swirlBoxCss; }
|
|
@@ -17,11 +17,11 @@ const SwirlButtonGroup = /*@__PURE__*/ proxyCustomElement(class SwirlButtonGroup
|
|
|
17
17
|
const className = classNames("button-group", {
|
|
18
18
|
"button-group--segmented": this.segmented,
|
|
19
19
|
});
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: '1c5dcaf521e8ee19f572f03e428f6f6297106ae0' }, h("swirl-stack", { key: '78073a9c28c55e16c68c9f32f4573e18f08d8822', align: this.orientation === "vertical" && this.stretch
|
|
21
21
|
? "stretch"
|
|
22
22
|
: "start", class: className, justify: this.orientation === "horizontal" && this.stretch
|
|
23
23
|
? "stretch"
|
|
24
|
-
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, h("slot", { key: '
|
|
24
|
+
: "start", orientation: this.orientation, role: "group", spacing: spacing, wrap: this.wrap }, h("slot", { key: '4936fecbd49610aec18174458b1cd7ef42723eba' }))));
|
|
25
25
|
}
|
|
26
26
|
static get style() { return swirlButtonGroupCss; }
|
|
27
27
|
}, [1, "swirl-button-group", {
|
|
@@ -76,9 +76,9 @@ const SwirlButton = /*@__PURE__*/ proxyCustomElement(class SwirlButton extends H
|
|
|
76
76
|
"button--pressed": this.pressed,
|
|
77
77
|
});
|
|
78
78
|
const Tag = isLink ? "a" : "button";
|
|
79
|
-
return (h(Host, { key: '
|
|
79
|
+
return (h(Host, { key: '49d43aafbfefa72d23f1fb0bec48dcb7333d0610', style: { pointerEvents: this.disabled ? "none" : "" } }, h(Tag, { key: 'a7cf0739cf899b6736693ec45604bf06960f42be', "aria-controls": this.swirlAriaControls, "aria-current": this.swirlAriaCurrent, "aria-describedby": this.swirlAriaDescribedby, "aria-disabled": this.disabled && !isLink ? "true" : undefined, "aria-expanded": this.swirlAriaExpanded, "aria-haspopup": this.swirlAriaHaspopup, "aria-label": ariaLabel, "aria-pressed": this.pressed ? "true" : undefined, class: className, disabled: isLink ? undefined : this.disabled, download: isLink ? undefined : this.download, form: isLink ? undefined : this.form, href: this.href, name: isLink ? undefined : this.name, ref: (el) => (this.buttonEl = el), target: isLink ? this.target : undefined, type: isLink ? undefined : this.type, value: isLink ? undefined : this.value, style: this.inheritFontSize
|
|
80
80
|
? { fontSize: "inherit", lineHeight: "inherit" }
|
|
81
|
-
: {} }, Boolean(this.icon) && (h("span", { key: '
|
|
81
|
+
: {} }, Boolean(this.icon) && (h("span", { key: 'a48af7d78a53bb7efd90df4f8df886a7a8c59dc8', class: "button__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), !Boolean(this.icon) && (h("span", { key: 'c3c70eab6feabaa93cf1599e662aa37706f52757', class: "button__icon", ref: (el) => (this.iconEl = el) }, h("slot", { key: '69a451895b40ee9decfd817e9f2d015c4a76dde6', name: "icon" }))), !hideLabel && h("span", { key: 'cd1669aeccd8cc518b252a48e95b7e8c978b2548', class: "button__label" }, this.label), hasTag && (h("span", { key: '40de97546408ff28cd03b4cfd6e216044ea89088', class: "button__tag" }, h("slot", { key: 'e69c28a98e3bdc1d6c8c6d5f6fef04330b9e64f7', name: "tag" }))), hasTrailingSlot && (h("div", { key: '6306ba16fbf752aa11c34a3aa3a190c8094d79fc', class: "button__trailing-slot" }, h("slot", { key: '4d17a8b0f819b95ae7a0908bff23648280a84dce', name: "trailing" }))))));
|
|
82
82
|
}
|
|
83
83
|
get el() { return this; }
|
|
84
84
|
static get style() { return swirlButtonCss; }
|
|
@@ -72,9 +72,9 @@ const SwirlCard$1 = /*@__PURE__*/ proxyCustomElement(class SwirlCard extends HTM
|
|
|
72
72
|
"card--interactive": this.interactive || this.href,
|
|
73
73
|
"card--is--borderless": this.isBorderless,
|
|
74
74
|
});
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: '5bfcbd19458056cb51a4c4f3ed715a14a7cd6733', styles: { height: this.height } }, h(Tag, { key: 'efb06d77947f2318c2e74d32b7e47c7d7b3110a4', "aria-label": this.swirlAriaLabel, "aria-labelledby": this.swirlAriaLabelledby, class: className, href: this.href, rel: Boolean(this.href) && this.linkTarget === "_blank"
|
|
76
76
|
? "noreferrer"
|
|
77
|
-
: undefined, style: styles, target: this.linkTarget }, h("div", { key: '
|
|
77
|
+
: undefined, style: styles, target: this.linkTarget }, h("div", { key: 'd904c27cc0be54ca742da0724082f5054f865cfe', class: "card__image", style: { aspectRatio: this.imageAspectRatio } }, h("slot", { key: 'e961923314ced9e3328fc524c5482711f4d27b74', name: "image" })), h("div", { key: '5df1afc2ea9ea939346c8de9c0175767d8f516c8', class: "card__floating-controls" }, h("slot", { key: '7edc1118e0bdd548a4f2d7299b70b48574e0b00e', name: "floating-controls" })), h("div", { key: 'f11335531fada3ae2b3a5ab215b5a1a825b314cf', class: "card__body", style: bodyStyles }, h("div", { key: '17de1d4711bef1fa8f14061e8118f6a0105cbf3d', class: "card__content" }, h("slot", { key: '4eb7af808aaaf1f762089ed98f231cea57d10b93', name: "content" }))))));
|
|
78
78
|
}
|
|
79
79
|
get el() { return this; }
|
|
80
80
|
static get style() { return swirlCardCss; }
|
|
@@ -159,7 +159,7 @@ const SwirlCarousel$1 = /*@__PURE__*/ proxyCustomElement(class SwirlCarousel ext
|
|
|
159
159
|
"carousel--is-at-start": this.isAtStart,
|
|
160
160
|
"carousel--is-at-end": this.isAtEnd,
|
|
161
161
|
});
|
|
162
|
-
return (h(Host, { key: '
|
|
162
|
+
return (h(Host, { key: 'c5903f0c46a1eaa6129e2a1b73abee0db5bcd9ed', "aria-label": this.label, "aria-roledescription": "carousel", role: "group" }, h("div", { key: 'a1dfb1a45c399559d25df72add7723b231b5e6b8', class: className }, this.isScrollable && !this.isAtStart && (h("swirl-button", { key: 'f9e9dd3bb8162550accfcd6b653a3737355f93d4', class: "carousel__previous-slide-button", hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.previousSlideButtonLabel, onClick: this.onPreviousSlideButtonClick, pill: true, variant: "floating" })), this.isScrollable && !this.isAtEnd && (h("swirl-button", { key: 'bc30a83c74273b4b5832338422a95d91e3e67321', class: "carousel__next-slide-button", hideLabel: true, icon: "<swirl-icon-arrow-forward></swirl-icon-arrow-forward>", label: this.nextSlideButtonLabel, onClick: this.onNextSlideButtonClick, pill: true, variant: "floating" })), h("div", { key: 'cb596e62b8517b2d6ff791032b41608c6a5b25be', "aria-live": "polite", class: "carousel__slides", style: slidesStyles, onScroll: this.onScroll, ref: (el) => (this.slidesContainer = el) }, h("slot", { key: '0fab582bd3650e63d512e934d03183b3ae9b5901', onSlotchange: this.onSlotChange })))));
|
|
163
163
|
}
|
|
164
164
|
get el() { return this; }
|
|
165
165
|
static get style() { return swirlCarouselCss; }
|
|
@@ -45,7 +45,7 @@ const SwirlCheckbox$1 = /*@__PURE__*/ proxyCustomElement(class SwirlCheckbox ext
|
|
|
45
45
|
"checkbox--invalid": this.invalid,
|
|
46
46
|
"checkbox--unchecked": unchecked,
|
|
47
47
|
});
|
|
48
|
-
return (h(Host, { key: '
|
|
48
|
+
return (h(Host, { key: 'acf777ca7224f41f607bf84f193ecb05881f1fc1', style: { width: this.variant === "card" ? "100%" : undefined } }, h("label", { key: 'c3a3abc5f9e87d3665ad7c797d44a2acd34c8ee5', class: className, htmlFor: this.inputId }, h("span", { key: '5e49492e10519c0f2f4f6ed187b318bca8316dab', class: "checkbox__control" }, h("swirl-visually-hidden", { key: '06217d12dbc1ea25117e421d8e0e1cebd392f599' }, h("input", { key: '455840493b5e9b60aace6f4a0e2de7e5cece2e78', "aria-checked": ariaCheckedLabel, "aria-describedby": this.swirlAriaDescribedby, "aria-invalid": ariaInvalid, "aria-label": this.swirlAriaLabel, checked: checked, class: "checkbox__input", disabled: this.disabled, id: this.inputId, indeterminate: indeterminate, name: this.inputName, onChange: this.onChange, type: "checkbox", value: this.value })), h("span", { key: '8b69f9ae79e957c52066cd80cf0da11fe5613ed2', "aria-hidden": "true", class: "checkbox__box" }, h("span", { key: 'cca029718dd23f8c2e0637ce4f44c24b4fb0b289', class: "checkbox__icon" }, checked && h("swirl-icon-check-strong", { key: 'f3bab31db3d5ab5a6fdc78610abb42763f51154b' }), indeterminate && (h("span", { key: '7002b8fffbb15b73d84fae98761196bbe6af3347', class: "checkbox__indeterminate-icon" }))))), showLabelContainer && (h("span", { key: '082ac434bc4dd0c98d983650aab5208a760063e7', class: "checkbox__label-container" }, this.label && h("span", { key: '62737cd8068a70eb10e722c2ff91ae4dc9917f7d', class: "checkbox__label" }, this.label), this.description && (h("span", { key: '3e7f891b80511b9a4d811db31b594f2a0429d8b0', class: "checkbox__description" }, this.description)))))));
|
|
49
49
|
}
|
|
50
50
|
static get style() { return swirlCheckboxCss; }
|
|
51
51
|
}, [2, "swirl-checkbox", {
|
|
@@ -48,7 +48,7 @@ const SwirlChip$1 = /*@__PURE__*/ proxyCustomElement(class SwirlChip extends HTM
|
|
|
48
48
|
"chip--interactive": this.interactive || this.pressed !== undefined,
|
|
49
49
|
"chip--removable": this.removable,
|
|
50
50
|
});
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'b0e65c521dcde5335f3bcd7daaf7359ba5bbe3ec' }, h(Tag, { key: 'a5198b26f19750bd4c8372acdc21e26f3ed8cfe1', "aria-pressed": this.pressed !== undefined ? String(this.pressed) : undefined, class: className, onClick: this.chipClick.emit, type: this.interactive ? "button" : undefined }, h("span", { key: '2ed93ce33faf8a1bdc4b07e4f866a10650ae8395', class: "chip__inner" }, showAvatar && (h("span", { key: 'ec44e6a99988aa14dcf330098de8593a1deeaed8', class: "chip__avatar" }, h("slot", { key: '880a8c96422c0f31cbf603676ffecef66c6bff21', name: "avatar" }))), showIcon && (h("span", { key: 'b5ba3f75080b5452fce8886c513eaa6abcd58009', class: "chip__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), h("span", { key: '808fe136faee7570c2329a300fafba4e0efcbed8', class: "chip__label" }, this.label)), this.progress !== undefined && (h("span", { key: '50b4eb47a59290e9c21570e0b2d91a8aa7a97723', class: "chip__progress-indicator" }, h("swirl-progress-indicator", { key: 'e0d54da0d2c6a325f6068740bba0c72b0837fb87', label: this.progressBarLabel, value: this.progress })))), this.removable && (h("button", { key: 'ec75adbbf28bf1df36d7532d832137f795973dab', "aria-label": this.removeButtonLabel, class: "chip__remove-button", onClick: this.removeChip.emit, type: "button" }, h("swirl-icon-close", { key: '85c241bc56caaf410421b102607f902f1c4b33ef', size: 20 })))));
|
|
52
52
|
}
|
|
53
53
|
get el() { return this; }
|
|
54
54
|
static get style() { return swirlChipCss; }
|
|
@@ -10,10 +10,10 @@ const SwirlColumns$1 = /*@__PURE__*/ proxyCustomElement(class SwirlColumns exten
|
|
|
10
10
|
this.columns = "repeat(3, minmax(0, 1fr))";
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(Host, { key: '
|
|
13
|
+
return (h(Host, { key: '779371e7d28640a71aaad2d2de8d91b5b8d63e88' }, h("div", { key: 'de846647d2b436277cd2765f9814796320af071d', class: "columns", style: {
|
|
14
14
|
gridTemplateColumns: this.columns,
|
|
15
15
|
gap: `var(--s-space-${this.spacing})`,
|
|
16
|
-
} }, h("slot", { key: '
|
|
16
|
+
} }, h("slot", { key: 'ca510de4dae9c7055d2db6e02020cdfca95e58c6' }))));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return swirlColumnsCss; }
|
|
19
19
|
}, [1, "swirl-columns", {
|
|
@@ -69,7 +69,7 @@ const SwirlDialog$1 = /*@__PURE__*/ proxyCustomElement(class SwirlDialog extends
|
|
|
69
69
|
render() {
|
|
70
70
|
const className = classNames("dialog", { "dialog--closing": this.closing });
|
|
71
71
|
const hasLeftControls = Boolean(this.el.querySelector('[slot="left-controls"]'));
|
|
72
|
-
return (h(Host, { key: '
|
|
72
|
+
return (h(Host, { key: '61ba06cee740b1bf21b246aeba14996b002a5aab' }, h("div", { key: 'e195a08fdac8f9ad6f76d412cd50eef88905128f', "aria-describedby": "content", "aria-hidden": "true", "aria-labelledby": this.hideLabel ? undefined : "label", "aria-label": this.hideLabel ? this.label : undefined, "aria-modal": "true", class: className, onKeyDown: this.onKeyDown, ref: (el) => (this.dialogEl = el), role: "alertdialog" }, h("div", { key: 'a1dbf13fe86dec8256c06393c4abd6c6c59382c1', class: "dialog__backdrop", onClick: this.onBackdropClick }), h("div", { key: 'f0b9dd2f2d722bf050081b2bc7fed3552c8a457c', class: "dialog__body", part: "dialog__body", role: "document" }, !this.hideLabel && (h("h2", { key: '18eceaee59d9184ace51898fe73c603af383387d', class: "dialog__heading", part: "dialog__heading", id: "label" }, this.label)), h("div", { key: '612edee73bee789b7ec2f8fd2e16cd3c3a9370aa', class: "dialog__content", part: "dialog__content", id: "content" }, h("slot", { key: '9d482392bce3c82df30c166fc99577c036da49a8' })), h("div", { key: '3306d185ed549fc6470a2fbbaf649cdc33b98189', class: "dialog__controls", ref: (el) => (this.controlsContainerEl = el) }, hasLeftControls && (h("div", { key: '0a7eb43c0f7f3e016767a8364334bd5f9d3cdf86', class: "dialog__left_controls" }, h("slot", { key: 'eb39f26ed1ff0a7931a899c8b9f70b3f22bba2d5', name: "left-controls" }))), this.secondaryActionLabel && (h("swirl-button", { key: '70cc4de12878fdb5f123a23a42d9c6cba67ddee7', label: this.secondaryActionLabel, onClick: this.onSecondaryAction })), this.primaryActionLabel && (h("swirl-button", { key: 'f02577b4cad57daea316f66b61ee3eec6844666a', intent: this.intent, label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" })))))));
|
|
73
73
|
}
|
|
74
74
|
get el() { return this; }
|
|
75
75
|
static get style() { return swirlDialogCss; }
|
|
@@ -28214,7 +28214,7 @@ const SwirlFileViewerPdf = /*@__PURE__*/ proxyCustomElement(class SwirlFileViewe
|
|
|
28214
28214
|
const showPagination = !this.error && !this.loading && this.visiblePages.length > 0;
|
|
28215
28215
|
const showSpinner = this.loading;
|
|
28216
28216
|
const className = classNames("file-viewer-pdf", `file-viewer-pdf--view-mode-${this.viewMode}`);
|
|
28217
|
-
return (h(Host, { key: '
|
|
28217
|
+
return (h(Host, { key: '17dae0b8e5bf16769a356414071943dc7f8ebec1', class: className, exportparts: "file-viewer-pdf__pagination" }, this.error && (h("swirl-inline-error", { key: '472e62e48d63545fef3bddaefe8cc307139b382b', class: "file-viewer-pdf__error", message: this.errorMessage })), h("div", { key: 'ae504112d088bd4990b419e787e48c5737f6d552', "aria-describedby": "pagination", class: "file-viewer-pdf__pages", onScroll: this.onScroll, ref: (el) => (this.scrollContainer = el) }, this.pages.map((page) => {
|
|
28218
28218
|
const viewport = page.getViewport({
|
|
28219
28219
|
scale: this.getScale(page),
|
|
28220
28220
|
});
|
|
@@ -28228,7 +28228,7 @@ const SwirlFileViewerPdf = /*@__PURE__*/ proxyCustomElement(class SwirlFileViewe
|
|
|
28228
28228
|
width: `${width}px`,
|
|
28229
28229
|
height: `${height}px`,
|
|
28230
28230
|
}, tabIndex: 0 }, !rendered && (h("swirl-spinner", { class: "file-viewer-pdf__page-spinner" })), h("canvas", { class: "file-viewer-pdf__canvas", style: { opacity: rendered ? "1" : "0" } }), h("div", { class: "file-viewer-pdf__text-container" })));
|
|
28231
|
-
})), showPagination && (h("span", { key: '
|
|
28231
|
+
})), showPagination && (h("span", { key: '0986d71eab6496cd1b588afa28c8ba5cf2a02967', class: "file-viewer-pdf__pagination", id: "pagination", part: "file-viewer-pdf__pagination" }, h("span", { key: 'b0bd18dd65703cb4d240ab66883e23b03d282265', "aria-current": "page" }, this.currentPage), " /", " ", this.doc.numPages)), showSpinner && (h("div", { key: 'cb4c58f7641b05e55132ca315e83b7254d2a1d66', class: "file-viewer-pdf__spinner" }, h("swirl-spinner", { key: '3a0dc7d43eebc9169928e07959239471d3c8b5ba' })))));
|
|
28232
28232
|
}
|
|
28233
28233
|
get el() { return this; }
|
|
28234
28234
|
static get watchers() { return {
|
|
@@ -170,7 +170,7 @@ const SwirlFormControl$1 = /*@__PURE__*/ proxyCustomElement(class SwirlFormContr
|
|
|
170
170
|
"form-control--is-select": isSelect,
|
|
171
171
|
});
|
|
172
172
|
const LabelTag = hasContenteditableControl ? "div" : "label";
|
|
173
|
-
return (h(Host, { key: '
|
|
173
|
+
return (h(Host, { key: '13d2a3e34d0519deb13fc0c48bdcd50e5c998afa', onFocusin: this.onFocusIn, onFocusout: this.onFocusOut, onKeyDown: this.onKeyDown }, h("div", { key: 'fa2959507fcbb63ff9b46e3a5250b24a5b8e3020', class: className, role: "group" }, h("span", { key: '5da5d74a5a29102e15bf5075b696f0cc53712830', class: "form-control__controls" }, h("span", { key: '7dd1a58fdac4a4b4ef6932d8c92068a5a77b58bb', class: "form-control__prefix" }, h("slot", { key: '78928c653468ce923e22d73f7f3db1f048a5d066', name: "prefix" })), h(LabelTag, { key: '5b632cf43b54e83db9e908d76120119696b351b8', class: "form-control__label", onClick: this.onLabelClick }, hasIcon && (h("span", { key: '9f3dd8179cd5a9ab2f373f360676002c3f375b30', class: "form-control__icon" }, h("swirl-icon", { key: '84f763010a68c9782cde47af8028ecba5ee21c0a', glyph: this.icon, size: 20 }))), h("span", { key: '8525bb87b93fd1fcec6bf9299f77b66055f664d3', class: "form-control__label-text", id: this.labelId }, this.label, this.secondaryLabel && this.labelPosition === "outside" && (h("span", { key: 'fd4ceb7d0951b4b5f6c8c1f9ccf1339789cc9d55', class: "form-control__secondary-label" }, this.secondaryLabel)), this.tooltip && (h("span", { key: '045855d7e63c2f3c63fa716f485c0248e8a08567', class: "form-control__tooltip" }, h("swirl-tooltip", { key: 'e9ff35f3bff49113de0535f62e9d80f7003fb962', content: this.tooltip, positioning: "fixed", position: "top" }, h("swirl-icon-help", { key: '61d4d4df9d518d9294a510530003df16c0215dd5', size: 16, tabindex: "0" }))))), h("span", { key: '748d81f068640f3cbff2ab1b31a87046442c6521', class: "form-control__input" }, h("slot", { key: 'c395ac72ad7d609f88e91fa38cddab6b871e66ec' })))), showDescription && (h("span", { key: '632118d7120ae262a52ca6eb3f8449c77a7288c9', class: "form-control__description", id: this.descriptionId }, this.description)), h("span", { key: 'd9dc941f07cb0df699afbba834de82546f06b361', "aria-live": "polite" }, showErrorMessage && (h("span", { key: 'c3f41f71bb570cbe08348205cbccf0170d4757e7', class: "form-control__error-message", id: this.descriptionId }, h("swirl-inline-error", { key: '3b579f6ff3941f7cafedf0991022026b6ac9e5fd', message: this.errorMessage, size: "s" })))))));
|
|
174
174
|
}
|
|
175
175
|
get el() { return this; }
|
|
176
176
|
static get watchers() { return {
|
|
@@ -11,7 +11,7 @@ const SwirlFormGroup$1 = /*@__PURE__*/ proxyCustomElement(class SwirlFormGroup e
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const className = classNames("form-group", `form-group--orientation-${this.orientation}`);
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: '5b14e0132c0975013caced41c3d42765900b0301' }, h("div", { key: '5a3f2d09416ebaeac67e310c658445d56dfea2c8', class: className }, h("slot", { key: '56a1bda07c9042e0e81696c64b0789a54154915b' }))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return swirlFormGroupCss; }
|
|
17
17
|
}, [6, "swirl-form-group", {
|
|
@@ -11,7 +11,7 @@ const SwirlIcon = /*@__PURE__*/ proxyCustomElement(class SwirlIcon extends HTMLE
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
const Tag = `swirl-icon-${this.glyph}`;
|
|
14
|
-
return (h(Host, { key: '
|
|
14
|
+
return (h(Host, { key: 'abb8a9d727983cca95e5c9600a13f0f77d26223d' }, h(Tag, { key: 'd86673ee0436541dbf40f73d9361b3d1c5f4c414', color: this.color, size: this.size })));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return swirlIconCss; }
|
|
17
17
|
}, [1, "swirl-icon", {
|
|
@@ -140,14 +140,14 @@ const SwirlImageGridItem$1 = /*@__PURE__*/ proxyCustomElement(class SwirlImageGr
|
|
|
140
140
|
"image-grid-item--has-overlay": this.overlay,
|
|
141
141
|
"image-grid-item--loaded": this.loaded,
|
|
142
142
|
});
|
|
143
|
-
return (h(Host, { key: '
|
|
143
|
+
return (h(Host, { key: '573e3f3d031a8b08e3e52c4ca76b2458390cd351', "data-sibling-count": siblingCount, role: "listitem" }, h(Tag, { key: '529e1fc28a87ca13d1dcbe3ba2a9c64653eac8b1', class: className, type: this.interactive ? "button" : undefined }, h("div", { key: '02ee7f89bfb6535501773ba05c9782c027d47faa', class: "image-grid-item__background", style: {
|
|
144
144
|
backgroundImage: showImage
|
|
145
145
|
? `url(${this.computedSrc})`
|
|
146
146
|
: undefined,
|
|
147
|
-
} }), showImage ? (h("img", { alt: this.alt, class: "image-grid-item__image", loading: this.loading !== "intersecting" ? this.loading : undefined, ref: this.onImageElementUpdate, src: this.computedSrc })) : (h("div", { class: "image-grid-item__loading-placeholder" }, h("swirl-visually-hidden", null, this.alt))), this.showGifControls && (h("swirl-stack", { key: '
|
|
147
|
+
} }), showImage ? (h("img", { alt: this.alt, class: "image-grid-item__image", loading: this.loading !== "intersecting" ? this.loading : undefined, ref: this.onImageElementUpdate, src: this.computedSrc })) : (h("div", { class: "image-grid-item__loading-placeholder" }, h("swirl-visually-hidden", null, this.alt))), this.showGifControls && (h("swirl-stack", { key: '675aaaefe83d45d310e65f2cb6fd168db429df1e', class: "image-grid-item__gif-controls", orientation: "horizontal", spacing: "4" }, h("button", { key: 'f3a6259a8f9da085c13dbdbe119b4c060e40c547', class: "image-grid-item__gif-controls__icon image-grid-item__gif-controls__icon--button", onClick: this.handleControlClick, type: "button", "aria-label": this.gifPaused ? this.gifPlayLabel : this.gifPauseLabel }, this.gifPaused ? (h("swirl-icon-play-arrow", { size: 20 })) : (h("swirl-icon-pause", { size: 20 }))), h("div", { key: '9269385dcf157eb1393bafc15e34498933124998', class: "image-grid-item__gif-controls__icon image-grid-item__gif-controls__icon--label" }, h("swirl-icon-gif", { key: '8863f41745b446f16673aba8c7d26a036c0fec3c', size: 20 })))), this.loaded &&
|
|
148
148
|
!this.error &&
|
|
149
149
|
this.icon &&
|
|
150
|
-
!Boolean(this.overlay) && (h("div", { key: '
|
|
150
|
+
!Boolean(this.overlay) && (h("div", { key: 'd42380e1652fe3355f7f54ccc0c43fbada2e04c6', class: "image-grid-item__icon", innerHTML: this.icon })), this.overlay && (h("div", { key: 'abafe4a7983861c54cc788fc760ed28b9e4ec7ae', class: "image-grid-item__overlay" }, this.overlay)), !this.loaded && (h("swirl-skeleton-box", { key: '54d62c8ae3d44c37f8d79d8892d0b7adde498c3d', class: "image-grid-item__skeleton", height: "100%", width: "100%", borderRadius: "none" })), this.loaded && this.error && (h("div", { key: '6c8c0781b308141a4276ce13874b8798d92c5ee6', class: "image-grid-item__error" }, h("swirl-icon-error", { key: 'b9c820fb07f1267c2c254bd8ee9a482c86348a6b', color: "critical" }))))));
|
|
151
151
|
}
|
|
152
152
|
get el() { return this; }
|
|
153
153
|
static get watchers() { return {
|
|
@@ -56,7 +56,7 @@ const SwirlImageGrid$1 = /*@__PURE__*/ proxyCustomElement(class SwirlImageGrid e
|
|
|
56
56
|
? `var(--s-border-radius-${this.borderRadius})`
|
|
57
57
|
: this.borderRadius,
|
|
58
58
|
};
|
|
59
|
-
return (h(Host, { key: '
|
|
59
|
+
return (h(Host, { key: '90bb7f66862a60ec727b5ebf4e7a28395e12de99' }, h("div", { key: '855f747b8ba3c678c6d4bf5c2a8dda87e51477d6', "aria-label": this.label, class: className, role: "list", style: styles }, h("slot", { key: '56a605da09875d68e2850ff528b7ddae2a121c96', onSlotchange: this.updateItems }))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return this; }
|
|
62
62
|
static get style() { return swirlImageGridCss; }
|
|
@@ -37,7 +37,7 @@ const SwirlInlineError = /*@__PURE__*/ proxyCustomElement(class SwirlInlineError
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const className = classNames("inline-error", `inline-error--size-${this.size}`);
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'f337c4a3cf306beb21a8aab29f56cdf1aa18c50a' }, h("span", { key: '469d8d13a5422ee1417665661fa701fc631de84a', class: className, part: "inline-error" }, h("span", { key: 'b6ffebe3eddd929284ff1f59466beda3fb311c23', class: "inline-error__icon", ref: (el) => (this.iconEl = el) }, h("swirl-icon-error", { key: '44f1a31a92af8bd93eebe7fc58935ba690e5a1c2' })), h("span", { key: '8b7b1353da57ca708cba3090797bbe6ecb0cdc68', class: "inline-error__message" }, this.message))));
|
|
41
41
|
}
|
|
42
42
|
static get style() { return swirlInlineErrorCss; }
|
|
43
43
|
}, [1, "swirl-inline-error", {
|
|
@@ -19,7 +19,7 @@ const SwirlInlineNotification$1 = /*@__PURE__*/ proxyCustomElement(class SwirlIn
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const className = classNames("inline-notification", `inline-notification--intent-${this.intent}`);
|
|
22
|
-
return (h(Host, { key: '
|
|
22
|
+
return (h(Host, { key: 'f05af92c68a8b3949d6b478b77f885185ba32119' }, h("div", { key: 'dfe2626206cc8af2d44c7b44cfd8fb364d3405da', "aria-describedby": "content", class: className, role: this.importance, tabIndex: 0 }, h("span", { key: '0ffdce4379c133e9c8b66b2edfc7d5e00e522fc6', "aria-hidden": "true", class: "inline-notification__icon" }, this.intent === "critical" && (h("swirl-icon-error", { key: 'bf79373b5bd5902e95a801ecec44e40525963b41', size: 20 })), this.intent === "success" && (h("swirl-icon-check-circle", { key: '5cae31b55f245b4f9d8aa7d598cb524a044f85df', size: 20 })), this.intent === "warning" && (h("swirl-icon-warning", { key: 'fa006e3eda6102644d140b34c6a9f67b09b08cd7', size: 20 })), this.intent === "info" && (h("swirl-icon-info", { key: 'b08fdfeab0389e8ada4b900e397095226246c379', size: 20 }))), h("span", { key: 'a54b17d14bf62a131cc546750af5cb6994eaf816', class: "inline-notification__content", id: "content" }, (this.hideHeading && (h("swirl-visually-hidden", { key: 'c7829d25e4fca758745ed3faf812b3544c593539' }, this.heading))) || (h("swirl-text", { key: '17d5bc32cc74b529f92144fd129f55cc7fe1361b', class: "inline-notification__heading", size: "sm", weight: "semibold" }, this.heading)), h("slot", { key: '7f5c2df3a604f376b38eb3f42edd8d0fd1219d78' })))));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return swirlInlineNotificationCss; }
|
|
25
25
|
}, [1, "swirl-inline-notification", {
|
|
@@ -40,7 +40,7 @@ const SwirlInlineStatus$1 = /*@__PURE__*/ proxyCustomElement(class SwirlInlineSt
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const className = classNames("inline-status", `inline-status--intent-${this.intent}`, `inline-status--size-${this.size}`);
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: 'd67b2912b5cf8351ec349444bae702a0bc6f66ca' }, h("span", { key: '382d9ab3c37766b59fb02dd50ce24b3fbfd9e7f8', class: className, part: "inline-status" }, this.icon && (h("span", { key: '652aa28a1581cb78685e3e31d2a16621a025fb6a', class: "inline-status__icon", innerHTML: this.icon, ref: (el) => (this.iconEl = el) })), h("span", { key: '712e906a2cb9c58bd665831cb0299f154a8b5990', class: "inline-status__message" }, this.message))));
|
|
44
44
|
}
|
|
45
45
|
static get style() { return swirlInlineStatusCss; }
|
|
46
46
|
}, [1, "swirl-inline-status", {
|
|
@@ -12,7 +12,7 @@ const SwirlLink$1 = /*@__PURE__*/ proxyCustomElement(class SwirlLink extends HTM
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const className = classNames("link", `link--color-${this.color}`);
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: 'e9f3357525bb976f93b594ba41f54556f95aed68' }, h("a", { key: '0d78230d5c4d2036747e5c9746ff304d5d1a39f6', class: className, href: this.href, part: "link", target: this.target }, this.label)));
|
|
16
16
|
}
|
|
17
17
|
static get style() { return swirlLinkCss; }
|
|
18
18
|
}, [1, "swirl-link", {
|
|
@@ -295,7 +295,7 @@ const SwirlMenu$1 = /*@__PURE__*/ proxyCustomElement(class SwirlMenu extends HTM
|
|
|
295
295
|
"menu--mobile": this.mobile,
|
|
296
296
|
"menu--root": isTopLevelMenu,
|
|
297
297
|
});
|
|
298
|
-
return (h(Host, { key: '
|
|
298
|
+
return (h(Host, { key: 'b75fb943f91cc899f162c0b63f8082d179843769' }, h("div", { key: 'b31150e343ddb6a6dd646e68d7ecc3b74f68db10', class: className }, this.mobile && isTopLevelMenu && (h("div", { key: '48ceb1ee35d7062d5db05504a27bd76c717f07f1', class: "menu__mobile-header" }, this.activeLevel === 0 && (h("swirl-button", { key: 'fb64243cc608184d034e8fbdc7dfb32c8dff98ef', hideLabel: true, icon: "<swirl-icon-close></swirl-icon-close>", label: this.mobileCloseMenuButtonLabel, onClick: this.onClose, variant: "plain" })), this.activeLevel > 0 && (h("swirl-button", { key: 'c344b6b747ec9abd2a2f6646fd8ed3e24bb21109', hideLabel: true, icon: "<swirl-icon-chevron-left></swirl-icon-chevron-left>", label: this.mobileBackButtonLabel, onClick: this.onGoBack, variant: "plain" })), h("span", { key: '0309c5898a83283037bc1b3eda6ee93fd2f16a2d', class: "menu__title", id: "menu-title" }, h("swirl-heading", { key: '2857abaadd4af6c70d58fe7c85d0af0543908493', align: "center", as: "span", level: 4, text: this.label, truncate: true })), h("swirl-button", { key: 'f2ba19bfd22201241db9a0ef9f641497c2b1a4e2', class: "menu__done-button", intent: "primary", label: this.mobileDoneButtonLabel, onClick: this.onDone }))), h("div", { key: 'f15159747fe2ace5d4d643aaa32c36592c4dda56', "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "aria-orientation": "vertical", class: "menu__menu", onKeyDown: this.onKeyDown, ref: (el) => (this.menuContainer = el), role: role, style: !this.mobile && this.level > 0
|
|
299
299
|
? {
|
|
300
300
|
top: Boolean(this.position) ? `${this.position?.y}px` : "",
|
|
301
301
|
left: Boolean(this.position) ? `${this.position?.x}px` : "",
|
|
@@ -306,7 +306,7 @@ const SwirlMenu$1 = /*@__PURE__*/ proxyCustomElement(class SwirlMenu extends HTM
|
|
|
306
306
|
? `calc(-100% * ${this.activeLevel})`
|
|
307
307
|
: "100%",
|
|
308
308
|
}
|
|
309
|
-
: undefined }, h("slot", { key: '
|
|
309
|
+
: undefined }, h("slot", { key: '8ce8f58560c9bf747293249f9e9fecd7f56bc27f' })))));
|
|
310
310
|
}
|
|
311
311
|
get el() { return this; }
|
|
312
312
|
static get watchers() { return {
|
|
@@ -238,29 +238,29 @@ const SwirlModal$1 = /*@__PURE__*/ proxyCustomElement(class SwirlModal extends H
|
|
|
238
238
|
"modal--sidebar-scrolled-down": this.sidebarScrolledDown,
|
|
239
239
|
"modal--sidebar-scrollable": this.sidebarScrollable,
|
|
240
240
|
});
|
|
241
|
-
return (h(Host, { key: '
|
|
241
|
+
return (h(Host, { key: 'b8d138b1ad7e273791814f5f9abd8a4a073636fb' }, h("section", { key: '0f63acbb187ff9d46dbff9da73144931e7ad33bd', "aria-hidden": String(!this.isOpen), "aria-label": this.label, "aria-modal": "true", class: className, onKeyDown: this.onKeyDown, role: "dialog", ref: (el) => (this.modalEl = el) }, h("div", { key: 'bfb8b3f9745e9cdd99fa7ce688dce57f01258706', class: "modal__backdrop", onClick: this.onBackdropClick }), h("div", { key: '3a8014ffc0972052d9bd2fa1462c4447e09fdea3', class: "modal__body", style: !this.isFullscreen
|
|
242
242
|
? {
|
|
243
243
|
"--swirl-modal-max-height": this.maxHeight,
|
|
244
244
|
"--swirl-modal-height": this.height,
|
|
245
245
|
minHeight: this.minHeight,
|
|
246
246
|
maxWidth: this.maxWidth,
|
|
247
247
|
}
|
|
248
|
-
: {} }, h("aside", { key: '
|
|
248
|
+
: {} }, h("aside", { key: 'f4fc452be1ab849dd5f5af6cc22b9605603d18d4', class: "modal__sidebar" }, this.sidebarLabel && (h("header", { key: '863e9f2aa8b7392afc7a8d20f451c35a4757b5c1', class: classNames("modal__sidebar-header", {
|
|
249
249
|
"modal__sidebar-header--has-close-button": this.hasSidebarCloseButton,
|
|
250
|
-
}) }, this.hasSidebarCloseButton && (h("swirl-button", { key: '
|
|
250
|
+
}) }, this.hasSidebarCloseButton && (h("swirl-button", { key: '2047dea0f173e5f4bdaeb65e4e3ea0c1bd3f2158', hideLabel: true, icon: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.sidebarCloseButtonLabel, onClick: this.onSidebarCloseButtonClick })), h("swirl-heading", { key: 'ec003d97f67b728c91efb729f03bcfec00604bc9', as: "h3", class: "modal__sidebar-heading", level: 5, text: this.sidebarLabel }))), h("div", { key: '55619573e3665d119f5930f795dbeb1e7b144415', class: "modal__sidebar-content", onScroll: this.determineSidebarScrollStatus, ref: (el) => (this.sidebarScrollContainer = el) }, h("slot", { key: '6ff1a840c83cd9aeb34c55e9767f8e6736c197d8', name: "sidebar-content" })), h("div", { key: 'da90299494ae5252611f30e64ddf08db5b01ef68', class: "modal__sidebar-footer" }, h("slot", { key: '817a965706aef995da46009b0a76d4c7afd2567d', name: "sidebar-footer" }))), h("div", { key: '4e967937d11b2dfc8552da0b308f2a3446a87e2d', class: "modal__main-content" }, h("header", { key: 'be7b866f8d7bd844e0cc2284e804e278fa62c62b', class: "modal__custom-header" }, h("slot", { key: '26022718ce0fb8817ca1914db3f4c21bbe6a262e', name: "custom-header" })), (!this.hideLabel || !this.hideCloseButton) && (h("header", { key: 'b8796448ff81d69ba74b7465c2bad02df39c0ba3', class: "modal__header" }, h("div", { key: '07b7a25aa64aec3222f4c9130d64be79222a2c97', class: "modal__header-bar" }, !this.hideCloseButton && (h("swirl-button", { key: '7c9e22203d8ce17fa30fcf8df5ec28dd0367a065', class: "modal__close-button", hideLabel: true, icon: this.variant === "default"
|
|
251
251
|
? "<swirl-icon-close></swirl-icon-close>"
|
|
252
|
-
: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick })), this.showFullscreenButton && (h("swirl-button", { key: '
|
|
252
|
+
: "<swirl-icon-double-arrow-right></swirl-icon-double-arrow-right>", label: this.closeButtonLabel, onClick: this.onCloseButtonClick })), this.showFullscreenButton && (h("swirl-button", { key: '028f409536d401093fd71e6fbf123b504a54b2c1', class: "modal__fullscreen-button", hideLabel: true, icon: this.isFullscreen
|
|
253
253
|
? "<swirl-icon-close-fullscreen></swirl-icon-close-fullscreen>"
|
|
254
254
|
: "<swirl-icon-open-in-full></swirl-icon-open-in-full>", label: this.isFullscreen
|
|
255
255
|
? this.fullscreenDisableButtonLabel
|
|
256
|
-
: this.fullscreenEnableButtonLabel, onClick: this.onFullscreenButtonClick })), !this.hideLabel && (h("swirl-heading", { key: '
|
|
256
|
+
: this.fullscreenEnableButtonLabel, onClick: this.onFullscreenButtonClick })), !this.hideLabel && (h("swirl-heading", { key: 'ed614d4b5331946c67d18f729052c0661ea3a8bb', as: "h2", class: "modal__heading", level: 3, text: this.label }))))), h("div", { key: '0cebbb9377307b03900bf8f623af2bbd0767ae5f', class: "modal__content-container", style: {
|
|
257
257
|
gap: this.contentGap
|
|
258
258
|
? `var(--s-space-${this.contentGap})`
|
|
259
259
|
: undefined,
|
|
260
|
-
} }, h("div", { key: '
|
|
260
|
+
} }, h("div", { key: 'ffaac7e43d389936ceb96b7c7b73c1fc2778f7d8', class: "modal__primary-content", style: {
|
|
261
261
|
maxWidth: this.primaryContentMaxWidth,
|
|
262
262
|
flex: this.primaryContentFlex,
|
|
263
|
-
} }, h("div", { key: '
|
|
263
|
+
} }, h("div", { key: '7341038d7ff292544afa94d225b117cea82d95bf', class: "modal__header-tools" }, h("slot", { key: 'ae87fe1c3fc8ddc22d71e3f1fa703a98b8d60bf1', name: "header-tools" })), h("div", { key: '441577d1d7a0fe02736dca8e1027b52114b7312e', class: "modal__content", onScroll: this.determineMainScrollStatus, ref: (el) => (this.scrollContainer = el) }, h("slot", { key: '6b3bcaaca92d5238f72f374d925c0b2b37f33763' }))), h("div", { key: '4ec04527481b4166525537d1c9c513f7216c5fbf', class: "modal__secondary-content", style: {
|
|
264
264
|
maxWidth: this.secondaryContentMaxWidth,
|
|
265
265
|
flex: this.secondaryContentFlex,
|
|
266
266
|
padding: Boolean(this.secondaryContentPadding)
|
|
@@ -278,7 +278,7 @@ const SwirlModal$1 = /*@__PURE__*/ proxyCustomElement(class SwirlModal extends H
|
|
|
278
278
|
paddingInlineStart: Boolean(this.secondaryContentPaddingInlineStart)
|
|
279
279
|
? `var(--s-space-${this.secondaryContentPaddingInlineStart})`
|
|
280
280
|
: undefined,
|
|
281
|
-
} }, h("slot", { key: '
|
|
281
|
+
} }, h("slot", { key: '09caff111a5c6696984582a40b3d98423cf9b0dd', name: "secondary-content" }))), h("div", { key: '255f12ffb46f68fc0452d6e8f0585ee017f485e9', class: "modal__custom-footer" }, h("slot", { key: '0e8dd3ea6bf16c12dae0a364d8ea67d11a3e2186', name: "custom-footer" })), showControls && (h("footer", { key: '97e723de4d48fa5883223a5665c419842412ab09', class: "modal__controls" }, h("swirl-button-group", { key: 'ce6a1115e391d17314d33cf8ef5795c7f64164d3', wrap: true }, this.secondaryActionLabel && (h("swirl-button", { key: 'df0f8f4d82789baaeda9ef9a9fcc40d61e9bfe76', label: this.secondaryActionLabel, onClick: this.onSecondaryAction })), this.primaryActionLabel && (h("swirl-button", { key: 'dca61b968580d1025a8e7fb08f7483fe20f3f232', intent: "primary", label: this.primaryActionLabel, onClick: this.onPrimaryAction, variant: "flat" }))))))))));
|
|
282
282
|
}
|
|
283
283
|
get el() { return this; }
|
|
284
284
|
static get style() { return swirlModalCss; }
|