@getflip/swirl-components 0.1.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/LICENSE.md +25 -0
- package/README.md +8 -0
- package/dist/cjs/flip-action-list-item.cjs.entry.js +24 -0
- package/dist/cjs/flip-action-list-section.cjs.entry.js +19 -0
- package/dist/cjs/flip-action-list.cjs.entry.js +52 -0
- package/dist/cjs/flip-avatar-group.cjs.entry.js +24 -0
- package/dist/cjs/flip-avatar.cjs.entry.js +78 -0
- package/dist/cjs/flip-badge.cjs.entry.js +26 -0
- package/dist/cjs/flip-banner.cjs.entry.js +47 -0
- package/dist/cjs/flip-button_2.cjs.entry.js +59 -0
- package/dist/cjs/flip-checkbox.cjs.entry.js +44 -0
- package/dist/cjs/flip-chip.cjs.entry.js +50 -0
- package/dist/cjs/flip-description-list-item.cjs.entry.js +19 -0
- package/dist/cjs/flip-description-list.cjs.entry.js +19 -0
- package/dist/cjs/flip-dialog.cjs.entry.js +476 -0
- package/dist/cjs/flip-icon-add-photo.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-add.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-admin-panel-settings.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-arrow-back.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-arrow-forward.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-arrow-right-small.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-attachment.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-cancel_2.cjs.entry.js +34 -0
- package/dist/cjs/flip-icon-chat-bubble.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-check-circle.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-check-small.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-check-strong.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-check.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-chevron-left.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-chevron-right.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-close-small.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-close.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-comment.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-copy.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-date-range.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-delete.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-description.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-download.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-edit.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-emoji-mood.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-emoji-satisfied.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-error.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-expand-less.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-expand-more.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-file.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-folder-shared.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-group-assign.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-groups-custom.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-groups.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-image.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-info.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-inventory.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-like.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-link.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-lock.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-logout.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-mail.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-manage-accounts.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-mention.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-message.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-more-horizontal.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-more-vertikal.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-notifications-active.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-notifications-off.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-notifications.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-people-alt.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-person-off.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-person.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-phone.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-poll.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-recieved.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-search-strong.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-send.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-settings.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-time-filled.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-time-outlined.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-today.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-user-assign.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-video-camera.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-visibility-off.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-visibility.cjs.entry.js +20 -0
- package/dist/cjs/flip-icon-warning.cjs.entry.js +20 -0
- package/dist/cjs/flip-inline-error.cjs.entry.js +23 -0
- package/dist/cjs/flip-link.cjs.entry.js +19 -0
- package/dist/cjs/flip-popover.cjs.entry.js +1558 -0
- package/dist/cjs/flip-radio-group.cjs.entry.js +51 -0
- package/dist/cjs/flip-radio.cjs.entry.js +37 -0
- package/dist/cjs/flip-search.cjs.entry.js +47 -0
- package/dist/cjs/flip-spinner.cjs.entry.js +22 -0
- package/dist/cjs/flip-stack.cjs.entry.js +28 -0
- package/dist/cjs/flip-switch.cjs.entry.js +92 -0
- package/dist/cjs/flip-tag.cjs.entry.js +28 -0
- package/dist/cjs/flip-theme-provider.cjs.entry.js +367 -0
- package/dist/cjs/flip-thumbnail.cjs.entry.js +23 -0
- package/dist/cjs/flip-toast-provider.cjs.entry.js +54 -0
- package/dist/cjs/flip-toast.cjs.entry.js +52 -0
- package/dist/cjs/flip-tooltip.cjs.entry.js +122 -0
- package/dist/cjs/flip-visually-hidden.cjs.entry.js +19 -0
- package/dist/cjs/index-37fbfe64.js +1803 -0
- package/dist/cjs/index-b9715722.js +72 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +21 -0
- package/dist/cjs/swirl-components.cjs.js +19 -0
- package/dist/cjs/utils-a6e2e7da.js +28 -0
- package/dist/collection/collection-manifest.json +109 -0
- package/dist/collection/components/flip-action-list/flip-action-list.css +11 -0
- package/dist/collection/components/flip-action-list/flip-action-list.js +54 -0
- package/dist/collection/components/flip-action-list/flip-action-list.stories.js +22 -0
- package/dist/collection/components/flip-action-list-item/flip-action-list-item.css +97 -0
- package/dist/collection/components/flip-action-list-item/flip-action-list-item.js +158 -0
- package/dist/collection/components/flip-action-list-item/flip-action-list-item.stories.js +30 -0
- package/dist/collection/components/flip-action-list-section/flip-action-list-section.css +22 -0
- package/dist/collection/components/flip-action-list-section/flip-action-list-section.js +40 -0
- package/dist/collection/components/flip-action-list-section/flip-action-list-section.stories.js +27 -0
- package/dist/collection/components/flip-avatar/flip-avatar.css +210 -0
- package/dist/collection/components/flip-avatar/flip-avatar.js +278 -0
- package/dist/collection/components/flip-avatar/flip-avatar.stories.js +40 -0
- package/dist/collection/components/flip-avatar-group/flip-avatar-group.css +46 -0
- package/dist/collection/components/flip-avatar-group/flip-avatar-group.js +44 -0
- package/dist/collection/components/flip-avatar-group/flip-avatar-group.stories.js +33 -0
- package/dist/collection/components/flip-badge/flip-badge.css +121 -0
- package/dist/collection/components/flip-badge/flip-badge.js +128 -0
- package/dist/collection/components/flip-badge/flip-badge.stories.js +31 -0
- package/dist/collection/components/flip-banner/flip-banner.css +146 -0
- package/dist/collection/components/flip-banner/flip-banner.js +222 -0
- package/dist/collection/components/flip-banner/flip-banner.stories.js +22 -0
- package/dist/collection/components/flip-button/flip-button.css +287 -0
- package/dist/collection/components/flip-button/flip-button.js +301 -0
- package/dist/collection/components/flip-button/flip-button.stories.js +31 -0
- package/dist/collection/components/flip-button-group/flip-button-group.css +7 -0
- package/dist/collection/components/flip-button-group/flip-button-group.js +81 -0
- package/dist/collection/components/flip-button-group/flip-button-group.stories.js +21 -0
- package/dist/collection/components/flip-checkbox/flip-checkbox.css +133 -0
- package/dist/collection/components/flip-checkbox/flip-checkbox.js +211 -0
- package/dist/collection/components/flip-checkbox/flip-checkbox.stories.js +29 -0
- package/dist/collection/components/flip-chip/flip-chip.css +89 -0
- package/dist/collection/components/flip-chip/flip-chip.js +144 -0
- package/dist/collection/components/flip-chip/flip-chip.stories.js +37 -0
- package/dist/collection/components/flip-description-list/flip-description-list.css +24 -0
- package/dist/collection/components/flip-description-list/flip-description-list.js +19 -0
- package/dist/collection/components/flip-description-list/flip-description-list.stories.js +30 -0
- package/dist/collection/components/flip-description-list-item/flip-description-list-item.css +65 -0
- package/dist/collection/components/flip-description-list-item/flip-description-list-item.js +40 -0
- package/dist/collection/components/flip-description-list-item/flip-description-list-item.stories.js +20 -0
- package/dist/collection/components/flip-dialog/flip-dialog.css +158 -0
- package/dist/collection/components/flip-dialog/flip-dialog.js +248 -0
- package/dist/collection/components/flip-dialog/flip-dialog.stories.js +40 -0
- package/dist/collection/components/flip-icon/flip-icon.css +3 -0
- package/dist/collection/components/flip-icon/flip-icon.stories.js +42 -0
- package/dist/collection/components/flip-icon/flip-icon.types.js +1 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-add-photo.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-add.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-admin-panel-settings.js +52 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-arrow-back.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-arrow-forward.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-arrow-right-small.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-attachment.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-cancel.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-chat-bubble.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-check-circle.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-check-small.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-check-strong.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-check.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-chevron-left.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-chevron-right.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-close-small.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-close.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-comment.js +52 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-copy.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-date-range.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-delete.js +52 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-description.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-download.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-edit.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-emoji-mood.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-emoji-satisfied.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-error.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-expand-less.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-expand-more.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-file.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-folder-shared.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-group-assign.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-groups-custom.js +64 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-groups.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-image.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-info.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-inventory.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-like.js +52 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-link.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-lock.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-logout.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-mail.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-manage-accounts.js +55 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-mention.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-message.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-more-horizontal.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-more-vertikal.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-notifications-active.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-notifications-off.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-notifications.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-people-alt.js +58 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-person-off.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-person.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-phone.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-poll.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-recieved.js +52 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-search-strong.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-search.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-send.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-settings.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-time-filled.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-time-outlined.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-today.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-user-assign.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-video-camera.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-visibility-off.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-visibility.js +49 -0
- package/dist/collection/components/flip-icon/icons/flip-icon-warning.js +49 -0
- package/dist/collection/components/flip-inline-error/flip-inline-error.css +35 -0
- package/dist/collection/components/flip-inline-error/flip-inline-error.js +65 -0
- package/dist/collection/components/flip-inline-error/flip-inline-error.stories.js +19 -0
- package/dist/collection/components/flip-link/flip-link.css +21 -0
- package/dist/collection/components/flip-link/flip-link.js +72 -0
- package/dist/collection/components/flip-link/flip-link.stories.js +20 -0
- package/dist/collection/components/flip-popover/flip-popover.css +267 -0
- package/dist/collection/components/flip-popover/flip-popover.js +229 -0
- package/dist/collection/components/flip-popover/flip-popover.stories.js +63 -0
- package/dist/collection/components/flip-radio/flip-radio.css +120 -0
- package/dist/collection/components/flip-radio/flip-radio.js +201 -0
- package/dist/collection/components/flip-radio/flip-radio.stories.js +24 -0
- package/dist/collection/components/flip-radio-group/flip-radio-group.css +13 -0
- package/dist/collection/components/flip-radio-group/flip-radio-group.js +82 -0
- package/dist/collection/components/flip-radio-group/flip-radio-group.stories.js +25 -0
- package/dist/collection/components/flip-search/flip-search.css +96 -0
- package/dist/collection/components/flip-search/flip-search.js +247 -0
- package/dist/collection/components/flip-search/flip-search.stories.js +19 -0
- package/dist/collection/components/flip-spinner/flip-spinner.css +90 -0
- package/dist/collection/components/flip-spinner/flip-spinner.js +66 -0
- package/dist/collection/components/flip-spinner/flip-spinner.stories.js +19 -0
- package/dist/collection/components/flip-stack/flip-stack.css +82 -0
- package/dist/collection/components/flip-stack/flip-stack.js +153 -0
- package/dist/collection/components/flip-stack/flip-stack.stories.js +26 -0
- package/dist/collection/components/flip-switch/flip-switch.css +100 -0
- package/dist/collection/components/flip-switch/flip-switch.js +245 -0
- package/dist/collection/components/flip-switch/flip-switch.stories.js +22 -0
- package/dist/collection/components/flip-tag/flip-tag.css +70 -0
- package/dist/collection/components/flip-tag/flip-tag.js +124 -0
- package/dist/collection/components/flip-tag/flip-tag.stories.js +20 -0
- package/dist/collection/components/flip-theme-provider/flip-theme-provider.css +3 -0
- package/dist/collection/components/flip-theme-provider/flip-theme-provider.js +253 -0
- package/dist/collection/components/flip-theme-provider/flip-theme-provider.stories.js +80 -0
- package/dist/collection/components/flip-thumbnail/flip-thumbnail.css +61 -0
- package/dist/collection/components/flip-thumbnail/flip-thumbnail.js +102 -0
- package/dist/collection/components/flip-thumbnail/flip-thumbnail.stories.js +20 -0
- package/dist/collection/components/flip-toast/flip-toast.css +64 -0
- package/dist/collection/components/flip-toast/flip-toast.js +198 -0
- package/dist/collection/components/flip-toast/flip-toast.stories.js +30 -0
- package/dist/collection/components/flip-toast-provider/flip-toast-provider.js +157 -0
- package/dist/collection/components/flip-toast-provider/flip-toast-provider.stories.js +58 -0
- package/dist/collection/components/flip-tooltip/flip-tooltip.css +42 -0
- package/dist/collection/components/flip-tooltip/flip-tooltip.js +212 -0
- package/dist/collection/components/flip-tooltip/flip-tooltip.stories.js +33 -0
- package/dist/collection/components/flip-visually-hidden/flip-visually-hidden.css +13 -0
- package/dist/collection/components/flip-visually-hidden/flip-visually-hidden.js +15 -0
- package/dist/collection/components/flip-visually-hidden/flip-visually-hidden.stories.js +17 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils.js +39 -0
- package/dist/components/flip-action-list-item.d.ts +11 -0
- package/dist/components/flip-action-list-item.js +47 -0
- package/dist/components/flip-action-list-section.d.ts +11 -0
- package/dist/components/flip-action-list-section.js +36 -0
- package/dist/components/flip-action-list.d.ts +11 -0
- package/dist/components/flip-action-list.js +67 -0
- package/dist/components/flip-avatar-group.d.ts +11 -0
- package/dist/components/flip-avatar-group.js +41 -0
- package/dist/components/flip-avatar.d.ts +11 -0
- package/dist/components/flip-avatar.js +111 -0
- package/dist/components/flip-badge.d.ts +11 -0
- package/dist/components/flip-badge.js +47 -0
- package/dist/components/flip-banner.d.ts +11 -0
- package/dist/components/flip-banner.js +76 -0
- package/dist/components/flip-button-group.d.ts +11 -0
- package/dist/components/flip-button-group.js +6 -0
- package/dist/components/flip-button-group2.js +46 -0
- package/dist/components/flip-button.d.ts +11 -0
- package/dist/components/flip-button.js +6 -0
- package/dist/components/flip-button2.js +67 -0
- package/dist/components/flip-checkbox.d.ts +11 -0
- package/dist/components/flip-checkbox.js +79 -0
- package/dist/components/flip-chip.d.ts +11 -0
- package/dist/components/flip-chip.js +71 -0
- package/dist/components/flip-description-list-item.d.ts +11 -0
- package/dist/components/flip-description-list-item.js +36 -0
- package/dist/components/flip-description-list.d.ts +11 -0
- package/dist/components/flip-description-list.js +34 -0
- package/dist/components/flip-dialog.d.ts +11 -0
- package/dist/components/flip-dialog.js +518 -0
- package/dist/components/flip-icon-add-photo.d.ts +11 -0
- package/dist/components/flip-icon-add-photo.js +37 -0
- package/dist/components/flip-icon-add.d.ts +11 -0
- package/dist/components/flip-icon-add.js +37 -0
- package/dist/components/flip-icon-admin-panel-settings.d.ts +11 -0
- package/dist/components/flip-icon-admin-panel-settings.js +37 -0
- package/dist/components/flip-icon-arrow-back.d.ts +11 -0
- package/dist/components/flip-icon-arrow-back.js +37 -0
- package/dist/components/flip-icon-arrow-forward.d.ts +11 -0
- package/dist/components/flip-icon-arrow-forward.js +37 -0
- package/dist/components/flip-icon-arrow-right-small.d.ts +11 -0
- package/dist/components/flip-icon-arrow-right-small.js +37 -0
- package/dist/components/flip-icon-attachment.d.ts +11 -0
- package/dist/components/flip-icon-attachment.js +37 -0
- package/dist/components/flip-icon-cancel.d.ts +11 -0
- package/dist/components/flip-icon-cancel.js +6 -0
- package/dist/components/flip-icon-cancel2.js +34 -0
- package/dist/components/flip-icon-chat-bubble.d.ts +11 -0
- package/dist/components/flip-icon-chat-bubble.js +37 -0
- package/dist/components/flip-icon-check-circle.d.ts +11 -0
- package/dist/components/flip-icon-check-circle.js +37 -0
- package/dist/components/flip-icon-check-small.d.ts +11 -0
- package/dist/components/flip-icon-check-small.js +37 -0
- package/dist/components/flip-icon-check-strong.d.ts +11 -0
- package/dist/components/flip-icon-check-strong.js +6 -0
- package/dist/components/flip-icon-check-strong2.js +34 -0
- package/dist/components/flip-icon-check.d.ts +11 -0
- package/dist/components/flip-icon-check.js +37 -0
- package/dist/components/flip-icon-chevron-left.d.ts +11 -0
- package/dist/components/flip-icon-chevron-left.js +37 -0
- package/dist/components/flip-icon-chevron-right.d.ts +11 -0
- package/dist/components/flip-icon-chevron-right.js +37 -0
- package/dist/components/flip-icon-close-small.d.ts +11 -0
- package/dist/components/flip-icon-close-small.js +37 -0
- package/dist/components/flip-icon-close.d.ts +11 -0
- package/dist/components/flip-icon-close.js +6 -0
- package/dist/components/flip-icon-close2.js +34 -0
- package/dist/components/flip-icon-comment.d.ts +11 -0
- package/dist/components/flip-icon-comment.js +37 -0
- package/dist/components/flip-icon-copy.d.ts +11 -0
- package/dist/components/flip-icon-copy.js +37 -0
- package/dist/components/flip-icon-date-range.d.ts +11 -0
- package/dist/components/flip-icon-date-range.js +37 -0
- package/dist/components/flip-icon-delete.d.ts +11 -0
- package/dist/components/flip-icon-delete.js +37 -0
- package/dist/components/flip-icon-description.d.ts +11 -0
- package/dist/components/flip-icon-description.js +37 -0
- package/dist/components/flip-icon-download.d.ts +11 -0
- package/dist/components/flip-icon-download.js +37 -0
- package/dist/components/flip-icon-edit.d.ts +11 -0
- package/dist/components/flip-icon-edit.js +37 -0
- package/dist/components/flip-icon-emoji-mood.d.ts +11 -0
- package/dist/components/flip-icon-emoji-mood.js +37 -0
- package/dist/components/flip-icon-emoji-satisfied.d.ts +11 -0
- package/dist/components/flip-icon-emoji-satisfied.js +37 -0
- package/dist/components/flip-icon-error.d.ts +11 -0
- package/dist/components/flip-icon-error.js +6 -0
- package/dist/components/flip-icon-error2.js +34 -0
- package/dist/components/flip-icon-expand-less.d.ts +11 -0
- package/dist/components/flip-icon-expand-less.js +37 -0
- package/dist/components/flip-icon-expand-more.d.ts +11 -0
- package/dist/components/flip-icon-expand-more.js +37 -0
- package/dist/components/flip-icon-file.d.ts +11 -0
- package/dist/components/flip-icon-file.js +37 -0
- package/dist/components/flip-icon-folder-shared.d.ts +11 -0
- package/dist/components/flip-icon-folder-shared.js +37 -0
- package/dist/components/flip-icon-group-assign.d.ts +11 -0
- package/dist/components/flip-icon-group-assign.js +37 -0
- package/dist/components/flip-icon-groups-custom.d.ts +11 -0
- package/dist/components/flip-icon-groups-custom.js +37 -0
- package/dist/components/flip-icon-groups.d.ts +11 -0
- package/dist/components/flip-icon-groups.js +37 -0
- package/dist/components/flip-icon-image.d.ts +11 -0
- package/dist/components/flip-icon-image.js +37 -0
- package/dist/components/flip-icon-info.d.ts +11 -0
- package/dist/components/flip-icon-info.js +37 -0
- package/dist/components/flip-icon-inventory.d.ts +11 -0
- package/dist/components/flip-icon-inventory.js +37 -0
- package/dist/components/flip-icon-like.d.ts +11 -0
- package/dist/components/flip-icon-like.js +37 -0
- package/dist/components/flip-icon-link.d.ts +11 -0
- package/dist/components/flip-icon-link.js +37 -0
- package/dist/components/flip-icon-lock.d.ts +11 -0
- package/dist/components/flip-icon-lock.js +37 -0
- package/dist/components/flip-icon-logout.d.ts +11 -0
- package/dist/components/flip-icon-logout.js +37 -0
- package/dist/components/flip-icon-mail.d.ts +11 -0
- package/dist/components/flip-icon-mail.js +37 -0
- package/dist/components/flip-icon-manage-accounts.d.ts +11 -0
- package/dist/components/flip-icon-manage-accounts.js +37 -0
- package/dist/components/flip-icon-mention.d.ts +11 -0
- package/dist/components/flip-icon-mention.js +37 -0
- package/dist/components/flip-icon-message.d.ts +11 -0
- package/dist/components/flip-icon-message.js +37 -0
- package/dist/components/flip-icon-more-horizontal.d.ts +11 -0
- package/dist/components/flip-icon-more-horizontal.js +37 -0
- package/dist/components/flip-icon-more-vertikal.d.ts +11 -0
- package/dist/components/flip-icon-more-vertikal.js +37 -0
- package/dist/components/flip-icon-notifications-active.d.ts +11 -0
- package/dist/components/flip-icon-notifications-active.js +37 -0
- package/dist/components/flip-icon-notifications-off.d.ts +11 -0
- package/dist/components/flip-icon-notifications-off.js +37 -0
- package/dist/components/flip-icon-notifications.d.ts +11 -0
- package/dist/components/flip-icon-notifications.js +37 -0
- package/dist/components/flip-icon-people-alt.d.ts +11 -0
- package/dist/components/flip-icon-people-alt.js +37 -0
- package/dist/components/flip-icon-person-off.d.ts +11 -0
- package/dist/components/flip-icon-person-off.js +37 -0
- package/dist/components/flip-icon-person.d.ts +11 -0
- package/dist/components/flip-icon-person.js +6 -0
- package/dist/components/flip-icon-person2.js +34 -0
- package/dist/components/flip-icon-phone.d.ts +11 -0
- package/dist/components/flip-icon-phone.js +37 -0
- package/dist/components/flip-icon-poll.d.ts +11 -0
- package/dist/components/flip-icon-poll.js +37 -0
- package/dist/components/flip-icon-recieved.d.ts +11 -0
- package/dist/components/flip-icon-recieved.js +37 -0
- package/dist/components/flip-icon-search-strong.d.ts +11 -0
- package/dist/components/flip-icon-search-strong.js +37 -0
- package/dist/components/flip-icon-search.d.ts +11 -0
- package/dist/components/flip-icon-search.js +6 -0
- package/dist/components/flip-icon-search2.js +34 -0
- package/dist/components/flip-icon-send.d.ts +11 -0
- package/dist/components/flip-icon-send.js +37 -0
- package/dist/components/flip-icon-settings.d.ts +11 -0
- package/dist/components/flip-icon-settings.js +37 -0
- package/dist/components/flip-icon-time-filled.d.ts +11 -0
- package/dist/components/flip-icon-time-filled.js +37 -0
- package/dist/components/flip-icon-time-outlined.d.ts +11 -0
- package/dist/components/flip-icon-time-outlined.js +37 -0
- package/dist/components/flip-icon-today.d.ts +11 -0
- package/dist/components/flip-icon-today.js +37 -0
- package/dist/components/flip-icon-user-assign.d.ts +11 -0
- package/dist/components/flip-icon-user-assign.js +37 -0
- package/dist/components/flip-icon-video-camera.d.ts +11 -0
- package/dist/components/flip-icon-video-camera.js +37 -0
- package/dist/components/flip-icon-visibility-off.d.ts +11 -0
- package/dist/components/flip-icon-visibility-off.js +37 -0
- package/dist/components/flip-icon-visibility.d.ts +11 -0
- package/dist/components/flip-icon-visibility.js +37 -0
- package/dist/components/flip-icon-warning.d.ts +11 -0
- package/dist/components/flip-icon-warning.js +37 -0
- package/dist/components/flip-inline-error.d.ts +11 -0
- package/dist/components/flip-inline-error.js +47 -0
- package/dist/components/flip-link.d.ts +11 -0
- package/dist/components/flip-link.js +38 -0
- package/dist/components/flip-popover.d.ts +11 -0
- package/dist/components/flip-popover.js +1580 -0
- package/dist/components/flip-radio-group.d.ts +11 -0
- package/dist/components/flip-radio-group.js +67 -0
- package/dist/components/flip-radio.d.ts +11 -0
- package/dist/components/flip-radio.js +66 -0
- package/dist/components/flip-search.d.ts +11 -0
- package/dist/components/flip-search.js +82 -0
- package/dist/components/flip-spinner.d.ts +11 -0
- package/dist/components/flip-spinner.js +46 -0
- package/dist/components/flip-stack.d.ts +11 -0
- package/dist/components/flip-stack.js +6 -0
- package/dist/components/flip-stack2.js +47 -0
- package/dist/components/flip-switch.d.ts +11 -0
- package/dist/components/flip-switch.js +120 -0
- package/dist/components/flip-tag.d.ts +11 -0
- package/dist/components/flip-tag.js +54 -0
- package/dist/components/flip-theme-provider.d.ts +11 -0
- package/dist/components/flip-theme-provider.js +387 -0
- package/dist/components/flip-thumbnail.d.ts +11 -0
- package/dist/components/flip-thumbnail.js +43 -0
- package/dist/components/flip-toast-provider.d.ts +11 -0
- package/dist/components/flip-toast-provider.js +93 -0
- package/dist/components/flip-toast.d.ts +11 -0
- package/dist/components/flip-toast.js +6 -0
- package/dist/components/flip-toast2.js +78 -0
- package/dist/components/flip-tooltip.d.ts +11 -0
- package/dist/components/flip-tooltip.js +143 -0
- package/dist/components/flip-visually-hidden.d.ts +11 -0
- package/dist/components/flip-visually-hidden.js +6 -0
- package/dist/components/flip-visually-hidden2.js +31 -0
- package/dist/components/index.d.ts +119 -0
- package/dist/components/index.js +99 -0
- package/dist/components/index2.js +70 -0
- package/dist/components/utils.js +26 -0
- package/dist/esm/flip-action-list-item.entry.js +20 -0
- package/dist/esm/flip-action-list-section.entry.js +15 -0
- package/dist/esm/flip-action-list.entry.js +48 -0
- package/dist/esm/flip-avatar-group.entry.js +20 -0
- package/dist/esm/flip-avatar.entry.js +74 -0
- package/dist/esm/flip-badge.entry.js +22 -0
- package/dist/esm/flip-banner.entry.js +43 -0
- package/dist/esm/flip-button_2.entry.js +54 -0
- package/dist/esm/flip-checkbox.entry.js +40 -0
- package/dist/esm/flip-chip.entry.js +46 -0
- package/dist/esm/flip-description-list-item.entry.js +15 -0
- package/dist/esm/flip-description-list.entry.js +15 -0
- package/dist/esm/flip-dialog.entry.js +472 -0
- package/dist/esm/flip-icon-add-photo.entry.js +16 -0
- package/dist/esm/flip-icon-add.entry.js +16 -0
- package/dist/esm/flip-icon-admin-panel-settings.entry.js +16 -0
- package/dist/esm/flip-icon-arrow-back.entry.js +16 -0
- package/dist/esm/flip-icon-arrow-forward.entry.js +16 -0
- package/dist/esm/flip-icon-arrow-right-small.entry.js +16 -0
- package/dist/esm/flip-icon-attachment.entry.js +16 -0
- package/dist/esm/flip-icon-cancel_2.entry.js +29 -0
- package/dist/esm/flip-icon-chat-bubble.entry.js +16 -0
- package/dist/esm/flip-icon-check-circle.entry.js +16 -0
- package/dist/esm/flip-icon-check-small.entry.js +16 -0
- package/dist/esm/flip-icon-check-strong.entry.js +16 -0
- package/dist/esm/flip-icon-check.entry.js +16 -0
- package/dist/esm/flip-icon-chevron-left.entry.js +16 -0
- package/dist/esm/flip-icon-chevron-right.entry.js +16 -0
- package/dist/esm/flip-icon-close-small.entry.js +16 -0
- package/dist/esm/flip-icon-close.entry.js +16 -0
- package/dist/esm/flip-icon-comment.entry.js +16 -0
- package/dist/esm/flip-icon-copy.entry.js +16 -0
- package/dist/esm/flip-icon-date-range.entry.js +16 -0
- package/dist/esm/flip-icon-delete.entry.js +16 -0
- package/dist/esm/flip-icon-description.entry.js +16 -0
- package/dist/esm/flip-icon-download.entry.js +16 -0
- package/dist/esm/flip-icon-edit.entry.js +16 -0
- package/dist/esm/flip-icon-emoji-mood.entry.js +16 -0
- package/dist/esm/flip-icon-emoji-satisfied.entry.js +16 -0
- package/dist/esm/flip-icon-error.entry.js +16 -0
- package/dist/esm/flip-icon-expand-less.entry.js +16 -0
- package/dist/esm/flip-icon-expand-more.entry.js +16 -0
- package/dist/esm/flip-icon-file.entry.js +16 -0
- package/dist/esm/flip-icon-folder-shared.entry.js +16 -0
- package/dist/esm/flip-icon-group-assign.entry.js +16 -0
- package/dist/esm/flip-icon-groups-custom.entry.js +16 -0
- package/dist/esm/flip-icon-groups.entry.js +16 -0
- package/dist/esm/flip-icon-image.entry.js +16 -0
- package/dist/esm/flip-icon-info.entry.js +16 -0
- package/dist/esm/flip-icon-inventory.entry.js +16 -0
- package/dist/esm/flip-icon-like.entry.js +16 -0
- package/dist/esm/flip-icon-link.entry.js +16 -0
- package/dist/esm/flip-icon-lock.entry.js +16 -0
- package/dist/esm/flip-icon-logout.entry.js +16 -0
- package/dist/esm/flip-icon-mail.entry.js +16 -0
- package/dist/esm/flip-icon-manage-accounts.entry.js +16 -0
- package/dist/esm/flip-icon-mention.entry.js +16 -0
- package/dist/esm/flip-icon-message.entry.js +16 -0
- package/dist/esm/flip-icon-more-horizontal.entry.js +16 -0
- package/dist/esm/flip-icon-more-vertikal.entry.js +16 -0
- package/dist/esm/flip-icon-notifications-active.entry.js +16 -0
- package/dist/esm/flip-icon-notifications-off.entry.js +16 -0
- package/dist/esm/flip-icon-notifications.entry.js +16 -0
- package/dist/esm/flip-icon-people-alt.entry.js +16 -0
- package/dist/esm/flip-icon-person-off.entry.js +16 -0
- package/dist/esm/flip-icon-person.entry.js +16 -0
- package/dist/esm/flip-icon-phone.entry.js +16 -0
- package/dist/esm/flip-icon-poll.entry.js +16 -0
- package/dist/esm/flip-icon-recieved.entry.js +16 -0
- package/dist/esm/flip-icon-search-strong.entry.js +16 -0
- package/dist/esm/flip-icon-send.entry.js +16 -0
- package/dist/esm/flip-icon-settings.entry.js +16 -0
- package/dist/esm/flip-icon-time-filled.entry.js +16 -0
- package/dist/esm/flip-icon-time-outlined.entry.js +16 -0
- package/dist/esm/flip-icon-today.entry.js +16 -0
- package/dist/esm/flip-icon-user-assign.entry.js +16 -0
- package/dist/esm/flip-icon-video-camera.entry.js +16 -0
- package/dist/esm/flip-icon-visibility-off.entry.js +16 -0
- package/dist/esm/flip-icon-visibility.entry.js +16 -0
- package/dist/esm/flip-icon-warning.entry.js +16 -0
- package/dist/esm/flip-inline-error.entry.js +19 -0
- package/dist/esm/flip-link.entry.js +15 -0
- package/dist/esm/flip-popover.entry.js +1554 -0
- package/dist/esm/flip-radio-group.entry.js +47 -0
- package/dist/esm/flip-radio.entry.js +33 -0
- package/dist/esm/flip-search.entry.js +43 -0
- package/dist/esm/flip-spinner.entry.js +18 -0
- package/dist/esm/flip-stack.entry.js +24 -0
- package/dist/esm/flip-switch.entry.js +88 -0
- package/dist/esm/flip-tag.entry.js +24 -0
- package/dist/esm/flip-theme-provider.entry.js +363 -0
- package/dist/esm/flip-thumbnail.entry.js +19 -0
- package/dist/esm/flip-toast-provider.entry.js +50 -0
- package/dist/esm/flip-toast.entry.js +48 -0
- package/dist/esm/flip-tooltip.entry.js +118 -0
- package/dist/esm/flip-visually-hidden.entry.js +15 -0
- package/dist/esm/index-36517fab.js +1774 -0
- package/dist/esm/index-3c78bcaf.js +70 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +17 -0
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/css-shim.js +1 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/swirl-components.js +17 -0
- package/dist/esm/utils-03e3261c.js +26 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/swirl-components/index.esm.js +0 -0
- package/dist/swirl-components/p-01857435.entry.js +1 -0
- package/dist/swirl-components/p-0a9f3ada.entry.js +1 -0
- package/dist/swirl-components/p-0d619d62.entry.js +1 -0
- package/dist/swirl-components/p-0de885c6.entry.js +1 -0
- package/dist/swirl-components/p-0fa4c4cf.entry.js +1 -0
- package/dist/swirl-components/p-0fa6b98f.entry.js +1 -0
- package/dist/swirl-components/p-102db76d.entry.js +1 -0
- package/dist/swirl-components/p-1126e372.entry.js +1 -0
- package/dist/swirl-components/p-126ead5f.entry.js +1 -0
- package/dist/swirl-components/p-1419666f.entry.js +1 -0
- package/dist/swirl-components/p-1429e47a.entry.js +1 -0
- package/dist/swirl-components/p-1609dbf3.entry.js +1 -0
- package/dist/swirl-components/p-17073db0.entry.js +1 -0
- package/dist/swirl-components/p-1853aaf0.entry.js +1 -0
- package/dist/swirl-components/p-18965b40.entry.js +1 -0
- package/dist/swirl-components/p-18a51976.entry.js +1 -0
- package/dist/swirl-components/p-1a9f0bc1.entry.js +1 -0
- package/dist/swirl-components/p-1bd3e7c0.entry.js +1 -0
- package/dist/swirl-components/p-1c2e8e09.entry.js +1 -0
- package/dist/swirl-components/p-1c8b77fe.entry.js +1 -0
- package/dist/swirl-components/p-213191cb.entry.js +1 -0
- package/dist/swirl-components/p-24d112d7.entry.js +1 -0
- package/dist/swirl-components/p-30011711.entry.js +1 -0
- package/dist/swirl-components/p-30048d87.js +1 -0
- package/dist/swirl-components/p-3234f836.entry.js +1 -0
- package/dist/swirl-components/p-32a5e2a7.entry.js +1 -0
- package/dist/swirl-components/p-37cfdd8f.js +7 -0
- package/dist/swirl-components/p-37d96123.entry.js +1 -0
- package/dist/swirl-components/p-3d59d365.entry.js +1 -0
- package/dist/swirl-components/p-432dd5f1.entry.js +1 -0
- package/dist/swirl-components/p-437842a2.entry.js +1 -0
- package/dist/swirl-components/p-453db2cf.entry.js +1 -0
- package/dist/swirl-components/p-468d0e9b.entry.js +1 -0
- package/dist/swirl-components/p-46f638cf.entry.js +1 -0
- package/dist/swirl-components/p-47a9a9cb.entry.js +1 -0
- package/dist/swirl-components/p-4f3d8490.entry.js +1 -0
- package/dist/swirl-components/p-545caf4a.entry.js +1 -0
- package/dist/swirl-components/p-54b9e1b5.entry.js +1 -0
- package/dist/swirl-components/p-55aaf1d3.entry.js +1 -0
- package/dist/swirl-components/p-56bdede5.entry.js +1 -0
- package/dist/swirl-components/p-5a13d6fe.entry.js +1 -0
- package/dist/swirl-components/p-5d27a69e.entry.js +1 -0
- package/dist/swirl-components/p-63e5b5d9.entry.js +1 -0
- package/dist/swirl-components/p-67aaf094.entry.js +1 -0
- package/dist/swirl-components/p-67deba9e.entry.js +1 -0
- package/dist/swirl-components/p-6a6de48d.entry.js +1 -0
- package/dist/swirl-components/p-6a9a0e08.entry.js +1 -0
- package/dist/swirl-components/p-6b840e3d.entry.js +1 -0
- package/dist/swirl-components/p-6b957569.entry.js +1 -0
- package/dist/swirl-components/p-70b255b3.entry.js +1 -0
- package/dist/swirl-components/p-7a6b480c.entry.js +1 -0
- package/dist/swirl-components/p-828cc4a3.entry.js +1 -0
- package/dist/swirl-components/p-8423a1b5.entry.js +1 -0
- package/dist/swirl-components/p-8bf1ad8a.entry.js +1 -0
- package/dist/swirl-components/p-94d933b3.entry.js +1 -0
- package/dist/swirl-components/p-95bd2274.entry.js +1 -0
- package/dist/swirl-components/p-9b4a9856.entry.js +1 -0
- package/dist/swirl-components/p-9c12d1eb.entry.js +1 -0
- package/dist/swirl-components/p-9d07fb5a.entry.js +1 -0
- package/dist/swirl-components/p-a1946e3b.entry.js +1 -0
- package/dist/swirl-components/p-a203be4a.entry.js +1 -0
- package/dist/swirl-components/p-a605b3d1.entry.js +1 -0
- package/dist/swirl-components/p-a6fb93df.entry.js +1 -0
- package/dist/swirl-components/p-a71261bc.entry.js +1 -0
- package/dist/swirl-components/p-aada2b77.entry.js +1 -0
- package/dist/swirl-components/p-ad434623.entry.js +1 -0
- package/dist/swirl-components/p-adbcf0ae.entry.js +1 -0
- package/dist/swirl-components/p-ae504b3e.entry.js +1 -0
- package/dist/swirl-components/p-b16d4978.entry.js +1 -0
- package/dist/swirl-components/p-b4540264.entry.js +1 -0
- package/dist/swirl-components/p-b5cd4041.entry.js +1 -0
- package/dist/swirl-components/p-b624ff23.entry.js +1 -0
- package/dist/swirl-components/p-b64b6dc5.entry.js +1 -0
- package/dist/swirl-components/p-c35a6610.entry.js +1 -0
- package/dist/swirl-components/p-c5200740.entry.js +1 -0
- package/dist/swirl-components/p-cac72e30.entry.js +1 -0
- package/dist/swirl-components/p-cc50d7a7.entry.js +1 -0
- package/dist/swirl-components/p-cf8be27a.entry.js +1 -0
- package/dist/swirl-components/p-cfef8bdb.entry.js +1 -0
- package/dist/swirl-components/p-d1c899ad.entry.js +1 -0
- package/dist/swirl-components/p-d3999b94.entry.js +2 -0
- package/dist/swirl-components/p-d41e3a37.entry.js +1 -0
- package/dist/swirl-components/p-db229451.entry.js +1 -0
- package/dist/swirl-components/p-db902aec.entry.js +1 -0
- package/dist/swirl-components/p-e0513b73.entry.js +1 -0
- package/dist/swirl-components/p-e12fbb2d.js +2 -0
- package/dist/swirl-components/p-e1554c48.entry.js +1 -0
- package/dist/swirl-components/p-e384bd2c.entry.js +1 -0
- package/dist/swirl-components/p-e4df2658.entry.js +1 -0
- package/dist/swirl-components/p-e65d2d81.entry.js +1 -0
- package/dist/swirl-components/p-e89c7891.entry.js +1 -0
- package/dist/swirl-components/p-f1774da0.entry.js +1 -0
- package/dist/swirl-components/p-f45709c0.entry.js +1 -0
- package/dist/swirl-components/p-f59098f7.entry.js +1 -0
- package/dist/swirl-components/p-f6e77552.entry.js +1 -0
- package/dist/swirl-components/p-f8273972.entry.js +1 -0
- package/dist/swirl-components/p-fa7cc450.entry.js +1 -0
- package/dist/swirl-components/p-fb19d8b9.entry.js +1 -0
- package/dist/swirl-components/p-ff0868ae.entry.js +1 -0
- package/dist/swirl-components/swirl-components.css +2 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -0
- package/dist/types/components/flip-action-list/flip-action-list.d.ts +13 -0
- package/dist/types/components/flip-action-list/flip-action-list.stories.d.ts +13 -0
- package/dist/types/components/flip-action-list-item/flip-action-list-item.d.ts +12 -0
- package/dist/types/components/flip-action-list-item/flip-action-list-item.stories.d.ts +14 -0
- package/dist/types/components/flip-action-list-section/flip-action-list-section.d.ts +7 -0
- package/dist/types/components/flip-action-list-section/flip-action-list-section.stories.d.ts +13 -0
- package/dist/types/components/flip-avatar/flip-avatar.d.ts +23 -0
- package/dist/types/components/flip-avatar/flip-avatar.stories.d.ts +32 -0
- package/dist/types/components/flip-avatar-group/flip-avatar-group.d.ts +7 -0
- package/dist/types/components/flip-avatar-group/flip-avatar-group.stories.d.ts +23 -0
- package/dist/types/components/flip-badge/flip-badge.d.ts +11 -0
- package/dist/types/components/flip-badge/flip-badge.stories.d.ts +23 -0
- package/dist/types/components/flip-banner/flip-banner.d.ts +18 -0
- package/dist/types/components/flip-banner/flip-banner.stories.d.ts +13 -0
- package/dist/types/components/flip-button/flip-button.d.ts +24 -0
- package/dist/types/components/flip-button/flip-button.stories.d.ts +23 -0
- package/dist/types/components/flip-button-group/flip-button-group.d.ts +8 -0
- package/dist/types/components/flip-button-group/flip-button-group.stories.d.ts +13 -0
- package/dist/types/components/flip-checkbox/flip-checkbox.d.ts +15 -0
- package/dist/types/components/flip-checkbox/flip-checkbox.stories.d.ts +19 -0
- package/dist/types/components/flip-chip/flip-chip.d.ts +14 -0
- package/dist/types/components/flip-chip/flip-chip.stories.d.ts +31 -0
- package/dist/types/components/flip-description-list/flip-description-list.d.ts +6 -0
- package/dist/types/components/flip-description-list/flip-description-list.stories.d.ts +13 -0
- package/dist/types/components/flip-description-list-item/flip-description-list-item.d.ts +7 -0
- package/dist/types/components/flip-description-list-item/flip-description-list-item.stories.d.ts +13 -0
- package/dist/types/components/flip-dialog/flip-dialog.d.ts +33 -0
- package/dist/types/components/flip-dialog/flip-dialog.stories.d.ts +16 -0
- package/dist/types/components/flip-icon/flip-icon.stories.d.ts +16 -0
- package/dist/types/components/flip-icon/flip-icon.types.d.ts +1 -0
- package/dist/types/components/flip-icon/icons/flip-icon-add-photo.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-add.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-admin-panel-settings.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-arrow-back.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-arrow-forward.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-arrow-right-small.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-attachment.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-cancel.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-chat-bubble.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-check-circle.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-check-small.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-check-strong.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-check.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-chevron-left.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-chevron-right.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-close-small.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-close.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-comment.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-copy.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-date-range.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-delete.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-description.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-download.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-edit.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-emoji-mood.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-emoji-satisfied.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-error.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-expand-less.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-expand-more.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-file.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-folder-shared.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-group-assign.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-groups-custom.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-groups.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-image.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-info.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-inventory.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-like.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-link.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-lock.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-logout.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-mail.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-manage-accounts.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-mention.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-message.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-more-horizontal.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-more-vertikal.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-notifications-active.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-notifications-off.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-notifications.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-people-alt.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-person-off.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-person.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-phone.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-poll.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-recieved.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-search-strong.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-search.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-send.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-settings.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-time-filled.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-time-outlined.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-today.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-user-assign.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-video-camera.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-visibility-off.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-visibility.d.ts +5 -0
- package/dist/types/components/flip-icon/icons/flip-icon-warning.d.ts +5 -0
- package/dist/types/components/flip-inline-error/flip-inline-error.d.ts +6 -0
- package/dist/types/components/flip-inline-error/flip-inline-error.stories.d.ts +13 -0
- package/dist/types/components/flip-link/flip-link.d.ts +7 -0
- package/dist/types/components/flip-link/flip-link.stories.d.ts +13 -0
- package/dist/types/components/flip-popover/flip-popover.d.ts +33 -0
- package/dist/types/components/flip-popover/flip-popover.stories.d.ts +21 -0
- package/dist/types/components/flip-radio/flip-radio.d.ts +15 -0
- package/dist/types/components/flip-radio/flip-radio.stories.d.ts +13 -0
- package/dist/types/components/flip-radio-group/flip-radio-group.d.ts +11 -0
- package/dist/types/components/flip-radio-group/flip-radio-group.stories.d.ts +13 -0
- package/dist/types/components/flip-search/flip-search.d.ts +21 -0
- package/dist/types/components/flip-search/flip-search.stories.d.ts +13 -0
- package/dist/types/components/flip-spinner/flip-spinner.d.ts +6 -0
- package/dist/types/components/flip-spinner/flip-spinner.stories.d.ts +13 -0
- package/dist/types/components/flip-stack/flip-stack.d.ts +13 -0
- package/dist/types/components/flip-stack/flip-stack.stories.d.ts +13 -0
- package/dist/types/components/flip-switch/flip-switch.d.ts +23 -0
- package/dist/types/components/flip-switch/flip-switch.stories.d.ts +13 -0
- package/dist/types/components/flip-tag/flip-tag.d.ts +11 -0
- package/dist/types/components/flip-tag/flip-tag.stories.d.ts +13 -0
- package/dist/types/components/flip-theme-provider/flip-theme-provider.d.ts +51 -0
- package/dist/types/components/flip-theme-provider/flip-theme-provider.stories.d.ts +17 -0
- package/dist/types/components/flip-thumbnail/flip-thumbnail.d.ts +9 -0
- package/dist/types/components/flip-thumbnail/flip-thumbnail.stories.d.ts +13 -0
- package/dist/types/components/flip-toast/flip-toast.d.ts +19 -0
- package/dist/types/components/flip-toast/flip-toast.stories.d.ts +23 -0
- package/dist/types/components/flip-toast-provider/flip-toast-provider.d.ts +43 -0
- package/dist/types/components/flip-toast-provider/flip-toast-provider.stories.d.ts +16 -0
- package/dist/types/components/flip-tooltip/flip-tooltip.d.ts +28 -0
- package/dist/types/components/flip-tooltip/flip-tooltip.stories.d.ts +14 -0
- package/dist/types/components/flip-visually-hidden/flip-visually-hidden.d.ts +3 -0
- package/dist/types/components/flip-visually-hidden/flip-visually-hidden.stories.d.ts +13 -0
- package/dist/types/components.d.ts +1809 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1565 -0
- package/dist/types/utils.d.ts +4 -0
- package/loader/cdn.js +3 -0
- package/loader/index.cjs.js +3 -0
- package/loader/index.d.ts +12 -0
- package/loader/index.es2017.js +3 -0
- package/loader/index.js +4 -0
- package/loader/package.json +10 -0
- package/package.json +82 -0
- package/vscode-data.json +2041 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipRadioGroup extends Components.FlipRadioGroup, HTMLElement {}
|
|
4
|
+
export const FlipRadioGroup: {
|
|
5
|
+
prototype: FlipRadioGroup;
|
|
6
|
+
new (): FlipRadioGroup;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const flipRadioGroupCss = ".sc-flip-radio-group-h{display:block}.sc-flip-radio-group-h *.sc-flip-radio-group{box-sizing:border-box}.radio-group.sc-flip-radio-group{display:flex;flex-direction:column;gap:var(--s-space-4)}";
|
|
4
|
+
|
|
5
|
+
const FlipRadioGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
this.__registerHost();
|
|
9
|
+
this.valueChange = createEvent(this, "valueChange", 7);
|
|
10
|
+
}
|
|
11
|
+
componentDidLoad() {
|
|
12
|
+
this.radioButtons = Array.from(this.el.querySelectorAll("flip-radio"));
|
|
13
|
+
this.initValue();
|
|
14
|
+
this.handleValueChanges();
|
|
15
|
+
}
|
|
16
|
+
initValue() {
|
|
17
|
+
if (this.value === undefined) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
const radioWithValue = this.radioButtons.find((radio) => radio.value === this.value);
|
|
21
|
+
if (!Boolean(radioWithValue)) {
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
radioWithValue.checked = true;
|
|
25
|
+
}
|
|
26
|
+
handleValueChanges() {
|
|
27
|
+
for (const [key, radio] of Object.entries(this.radioButtons)) {
|
|
28
|
+
radio.addEventListener("valueChange", () => {
|
|
29
|
+
if (radio.checked === true || radio.checked === "true") {
|
|
30
|
+
this.valueChange.emit(radio.value);
|
|
31
|
+
this.radioButtons.forEach((r, k) => {
|
|
32
|
+
if (String(k) === key) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
r.checked = false;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
render() {
|
|
42
|
+
return (h(Host, { role: "radiogroup" }, h("div", { class: "radio-group" }, h("slot", null))));
|
|
43
|
+
}
|
|
44
|
+
get el() { return this; }
|
|
45
|
+
static get style() { return flipRadioGroupCss; }
|
|
46
|
+
}, [6, "flip-radio-group", {
|
|
47
|
+
"value": [1025]
|
|
48
|
+
}]);
|
|
49
|
+
function defineCustomElement$1() {
|
|
50
|
+
if (typeof customElements === "undefined") {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
const components = ["flip-radio-group"];
|
|
54
|
+
components.forEach(tagName => { switch (tagName) {
|
|
55
|
+
case "flip-radio-group":
|
|
56
|
+
if (!customElements.get(tagName)) {
|
|
57
|
+
customElements.define(tagName, FlipRadioGroup$1);
|
|
58
|
+
}
|
|
59
|
+
break;
|
|
60
|
+
} });
|
|
61
|
+
}
|
|
62
|
+
defineCustomElement$1();
|
|
63
|
+
|
|
64
|
+
const FlipRadioGroup = FlipRadioGroup$1;
|
|
65
|
+
const defineCustomElement = defineCustomElement$1;
|
|
66
|
+
|
|
67
|
+
export { FlipRadioGroup, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipRadio extends Components.FlipRadio, HTMLElement {}
|
|
4
|
+
export const FlipRadio: {
|
|
5
|
+
prototype: FlipRadio;
|
|
6
|
+
new (): FlipRadio;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as classnames } from './index2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './flip-visually-hidden2.js';
|
|
4
|
+
|
|
5
|
+
const flipRadioCss = ".sc-flip-radio-h{display:inline-flex}.sc-flip-radio-h *.sc-flip-radio{box-sizing:border-box}.radio.sc-flip-radio{display:inline-flex;cursor:pointer;line-height:var(--s-line-height-base)}.radio.sc-flip-radio:focus-within .radio__box.sc-flip-radio{box-shadow:0 0 0 0.0625rem var(--s-background-default),\n 0 0 0 0.1875rem var(--s-focus-default)}.radio--checked.sc-flip-radio .radio__control.sc-flip-radio:hover .radio__box.sc-flip-radio{border-color:var(--s-interactive-primary-hovered);background-color:var(--s-interactive-primary-hovered)}.radio--checked.sc-flip-radio .radio__box.sc-flip-radio{position:relative;border-color:var(--s-icon-highlight);background-color:var(--s-icon-highlight)}.radio--checked.sc-flip-radio .radio__box.sc-flip-radio:after{position:absolute;top:50%;left:50%;width:0.5rem;height:0.5rem;border-radius:50%;background-color:var(--s-background-default);content:\"\";transform:translate3d(-50%, -50%, 0)}.radio--invalid.radio--checked.sc-flip-radio .radio__box.sc-flip-radio,.radio--invalid.radio--indeterminate.sc-flip-radio .radio__box.sc-flip-radio{background-color:var(--s-icon-critical)}.radio--invalid.sc-flip-radio .radio__box.sc-flip-radio{border-color:var(--s-icon-critical)}.radio--disabled.sc-flip-radio{cursor:default}.radio--disabled.radio--checked.sc-flip-radio .radio__control.sc-flip-radio:hover .radio__box.sc-flip-radio{border-color:var(--s-icon-disabled);background-color:transparent}.radio--disabled.radio--checked.sc-flip-radio .radio__box.sc-flip-radio{border-color:var(--s-icon-disabled);background-color:var(--s-background-default)}.radio--disabled.radio--checked.sc-flip-radio .radio__box.sc-flip-radio:after{background-color:var(--s-icon-disabled)}.radio--disabled.sc-flip-radio .radio__control.sc-flip-radio:hover .radio__box.sc-flip-radio{background-color:transparent}.radio--disabled.sc-flip-radio .radio__box.sc-flip-radio{border-color:var(--s-icon-disabled);backround-color:var(--s-icon-disabled)}.radio--disabled.sc-flip-radio .radio__description.sc-flip-radio,.radio--disabled.sc-flip-radio .radio__label.sc-flip-radio{color:var(--s-text-disabled)}.radio__control.sc-flip-radio{position:relative;display:inline-flex;width:1.5rem;height:1.5rem;padding:var(--s-space-2);flex-shrink:0}.radio__control.sc-flip-radio:hover .radio__box.sc-flip-radio{background-color:var(--s-action-neutral-hovered)}.radio__box.sc-flip-radio{position:relative;display:flex;width:100%;height:100%;justify-content:center;align-items:center;border:0.125rem solid var(--s-icon-default);border-radius:50%}.radio__label-container.sc-flip-radio{display:inline-flex;margin-left:var(--s-space-12);padding-top:var(--s-space-2);flex-direction:column}.radio__label.sc-flip-radio{font-weight:var(--s-font-weight-medium)}.radio__description.sc-flip-radio{color:var(--s-text-subdued)}";
|
|
6
|
+
|
|
7
|
+
const FlipRadio$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.valueChange = createEvent(this, "valueChange", 7);
|
|
12
|
+
this.checked = false;
|
|
13
|
+
this.disabled = false;
|
|
14
|
+
this.onChange = () => {
|
|
15
|
+
this.checked = true;
|
|
16
|
+
this.valueChange.emit(this.value);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
render() {
|
|
20
|
+
const unchecked = this.checked === false || this.checked === "false";
|
|
21
|
+
const checked = this.checked === true || this.checked === "true";
|
|
22
|
+
const ariaCheckedLabel = checked ? "true" : unchecked ? "false" : "mixed";
|
|
23
|
+
const ariaInvalid = this.invalid;
|
|
24
|
+
const className = classnames("radio", {
|
|
25
|
+
"radio--checked": checked,
|
|
26
|
+
"radio--disabled": this.disabled,
|
|
27
|
+
"radio--invalid": this.invalid,
|
|
28
|
+
"radio--unchecked": unchecked,
|
|
29
|
+
});
|
|
30
|
+
return (h(Host, null, h("label", { class: className, htmlFor: this.inputId }, h("span", { class: "radio__control" }, h("flip-visually-hidden", null, h("input", { "aria-checked": ariaCheckedLabel, "aria-invalid": ariaInvalid, checked: checked, class: "radio__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, type: "radio", value: this.value })), h("span", { "aria-hidden": "true", class: "radio__box" })), h("span", { class: "radio__label-container" }, this.label && h("span", { class: "radio__label" }, this.label), this.description && (h("span", { class: "radio__description" }, this.description))))));
|
|
31
|
+
}
|
|
32
|
+
static get style() { return flipRadioCss; }
|
|
33
|
+
}, [2, "flip-radio", {
|
|
34
|
+
"checked": [1032],
|
|
35
|
+
"description": [1],
|
|
36
|
+
"disabled": [4],
|
|
37
|
+
"inputId": [1, "input-id"],
|
|
38
|
+
"inputName": [1, "input-name"],
|
|
39
|
+
"invalid": [4],
|
|
40
|
+
"label": [1],
|
|
41
|
+
"value": [1]
|
|
42
|
+
}]);
|
|
43
|
+
function defineCustomElement$1() {
|
|
44
|
+
if (typeof customElements === "undefined") {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
const components = ["flip-radio", "flip-visually-hidden"];
|
|
48
|
+
components.forEach(tagName => { switch (tagName) {
|
|
49
|
+
case "flip-radio":
|
|
50
|
+
if (!customElements.get(tagName)) {
|
|
51
|
+
customElements.define(tagName, FlipRadio$1);
|
|
52
|
+
}
|
|
53
|
+
break;
|
|
54
|
+
case "flip-visually-hidden":
|
|
55
|
+
if (!customElements.get(tagName)) {
|
|
56
|
+
defineCustomElement$2();
|
|
57
|
+
}
|
|
58
|
+
break;
|
|
59
|
+
} });
|
|
60
|
+
}
|
|
61
|
+
defineCustomElement$1();
|
|
62
|
+
|
|
63
|
+
const FlipRadio = FlipRadio$1;
|
|
64
|
+
const defineCustomElement = defineCustomElement$1;
|
|
65
|
+
|
|
66
|
+
export { FlipRadio, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipSearch extends Components.FlipSearch, HTMLElement {}
|
|
4
|
+
export const FlipSearch: {
|
|
5
|
+
prototype: FlipSearch;
|
|
6
|
+
new (): FlipSearch;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as classnames } from './index2.js';
|
|
3
|
+
import { d as defineCustomElement$3 } from './flip-icon-cancel2.js';
|
|
4
|
+
import { d as defineCustomElement$2 } from './flip-icon-search2.js';
|
|
5
|
+
|
|
6
|
+
const flipSearchCss = ".sc-flip-search-h{display:flex;width:100%}.sc-flip-search-h *.sc-flip-search{box-sizing:border-box}.search.sc-flip-search{position:relative;display:flex;width:100%}.search--disabled.sc-flip-search .search__icon.sc-flip-search{color:var(--s-icon-disabled)}.search--disabled.sc-flip-search .search__input.sc-flip-search{color:var(--s-text-disabled)}.search--disabled.sc-flip-search .search__input.sc-flip-search::-moz-placeholder{color:var(--s-text-disabled)}.search--disabled.sc-flip-search .search__input.sc-flip-search::placeholder{color:var(--s-text-disabled)}.search__icon.sc-flip-search{position:absolute;top:50%;left:var(--s-space-12);display:inline-flex;color:var(--s-icon-default);transform:translateY(-50%)}.search__input.sc-flip-search{width:100%;height:2.5rem;padding-top:var(--s-space-8);padding-right:calc(var(--s-space-12) + 1.5rem + var(--s-space-8));padding-bottom:var(--s-space-8);padding-left:calc(var(--s-space-12) + 1.5rem + var(--s-space-8));border:none;border-radius:var(--s-border-radius-base);color:var(--s-text-default);background-color:var(--s-surface-raised-default);font:inherit;line-height:var(--s-line-height-base);caret-color:var(--s-border-highlight)}.search__input.sc-flip-search:focus{outline-color:var(--s-focus-default)}.search__input.sc-flip-search::-moz-placeholder{color:var(--s-text-subdued)}.search__input.sc-flip-search::placeholder{color:var(--s-text-subdued)}.search__input.sc-flip-search::-webkit-search-decoration,.search__input.sc-flip-search::-webkit-search-cancel-button,.search__input.sc-flip-search::-webkit-search-results-button,.search__input.sc-flip-search::-webkit-search-results-decoration{-webkit-appearance:none;appearance:none}.search__input.sc-flip-search:not(:-moz-placeholder-shown)+.search__clear-button.sc-flip-search{display:inline-flex}.search__input.sc-flip-search:not(:placeholder-shown)+.search__clear-button.sc-flip-search{display:inline-flex}.search__clear-button.sc-flip-search{position:absolute;top:50%;right:var(--s-space-12);display:none;padding:0;border:none;color:var(--s-icon-default);background-color:transparent;cursor:pointer;transform:translateY(-50%)}";
|
|
7
|
+
|
|
8
|
+
const FlipSearch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
|
+
constructor() {
|
|
10
|
+
super();
|
|
11
|
+
this.__registerHost();
|
|
12
|
+
this.inputBlur = createEvent(this, "inputBlur", 7);
|
|
13
|
+
this.inputFocus = createEvent(this, "inputFocus", 7);
|
|
14
|
+
this.valueChange = createEvent(this, "valueChange", 7);
|
|
15
|
+
this.clearButtonLabel = "Clear search term";
|
|
16
|
+
this.placeholder = "Search …";
|
|
17
|
+
this.clear = () => {
|
|
18
|
+
this.input.value = "";
|
|
19
|
+
this.input.focus();
|
|
20
|
+
};
|
|
21
|
+
this.onBlur = (event) => {
|
|
22
|
+
this.inputBlur.emit(event);
|
|
23
|
+
};
|
|
24
|
+
this.onChange = (event) => {
|
|
25
|
+
this.valueChange.emit(event.target.value);
|
|
26
|
+
};
|
|
27
|
+
this.onFocus = (event) => {
|
|
28
|
+
this.inputFocus.emit(event);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
onKeyDown(event) {
|
|
32
|
+
if ((event.code === "KeyK" || event.code === "Slash") &&
|
|
33
|
+
(event.ctrlKey || event.metaKey)) {
|
|
34
|
+
this.input.focus();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const className = classnames("search", {
|
|
39
|
+
"search--disabled": this.disabled,
|
|
40
|
+
});
|
|
41
|
+
return (h(Host, null, h("span", { class: className }, h("flip-icon-search", { class: "search__icon" }), h("input", { "aria-disabled": this.disabled ? "true" : undefined, "aria-label": this.label, autoComplete: "off", autoFocus: this.autoFocus, class: "search__input", disabled: this.disabled, id: this.inputId, inputMode: "search", name: this.inputName, onBlur: this.onBlur, onChange: this.onChange, onFocus: this.onFocus, placeholder: this.placeholder, ref: (el) => (this.input = el), type: "search", value: this.value }), !this.disabled && (h("button", { "aria-label": this.clearButtonLabel, class: "search__clear-button", onClick: this.clear, type: "button" }, h("flip-icon-cancel", null))))));
|
|
42
|
+
}
|
|
43
|
+
static get style() { return flipSearchCss; }
|
|
44
|
+
}, [2, "flip-search", {
|
|
45
|
+
"autoFocus": [4, "auto-focus"],
|
|
46
|
+
"clearButtonLabel": [1, "clear-button-label"],
|
|
47
|
+
"disabled": [4],
|
|
48
|
+
"inputName": [1, "input-name"],
|
|
49
|
+
"inputId": [1, "input-id"],
|
|
50
|
+
"label": [1],
|
|
51
|
+
"placeholder": [1],
|
|
52
|
+
"value": [1025]
|
|
53
|
+
}, [[8, "keydown", "onKeyDown"]]]);
|
|
54
|
+
function defineCustomElement$1() {
|
|
55
|
+
if (typeof customElements === "undefined") {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
const components = ["flip-search", "flip-icon-cancel", "flip-icon-search"];
|
|
59
|
+
components.forEach(tagName => { switch (tagName) {
|
|
60
|
+
case "flip-search":
|
|
61
|
+
if (!customElements.get(tagName)) {
|
|
62
|
+
customElements.define(tagName, FlipSearch$1);
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
case "flip-icon-cancel":
|
|
66
|
+
if (!customElements.get(tagName)) {
|
|
67
|
+
defineCustomElement$3();
|
|
68
|
+
}
|
|
69
|
+
break;
|
|
70
|
+
case "flip-icon-search":
|
|
71
|
+
if (!customElements.get(tagName)) {
|
|
72
|
+
defineCustomElement$2();
|
|
73
|
+
}
|
|
74
|
+
break;
|
|
75
|
+
} });
|
|
76
|
+
}
|
|
77
|
+
defineCustomElement$1();
|
|
78
|
+
|
|
79
|
+
const FlipSearch = FlipSearch$1;
|
|
80
|
+
const defineCustomElement = defineCustomElement$1;
|
|
81
|
+
|
|
82
|
+
export { FlipSearch, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipSpinner extends Components.FlipSpinner, HTMLElement {}
|
|
4
|
+
export const FlipSpinner: {
|
|
5
|
+
prototype: FlipSpinner;
|
|
6
|
+
new (): FlipSpinner;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as classnames } from './index2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './flip-visually-hidden2.js';
|
|
4
|
+
|
|
5
|
+
const flipSpinnerCss = ":host{display:inline-flex}:host *{box-sizing:border-box}.spinner{position:relative;display:inline-flex;overflow:hidden;width:2.25rem;height:2.25rem}.spinner--size-s{width:1.5rem;height:1.5rem}.spinner--size-s .spinner__circle{stroke-width:0.1875rem}.spinner__indicator{position:absolute;inset:0;width:100%;height:100%;transform-origin:center center;-webkit-animation:spinner-rotate 2s linear infinite;animation:spinner-rotate 2s linear infinite}.spinner__background{stroke:var(--s-border-default);stroke-linecap:round}.spinner__circle{-webkit-animation:spinner-dash 1.5s ease-in-out infinite;animation:spinner-dash 1.5s ease-in-out infinite;stroke:var(--s-interactive-primary-default);stroke-dasharray:1, 200;stroke-dashoffset:0;stroke-linecap:round}@-webkit-keyframes spinner-rotate{100%{transform:rotate(360deg)}}@keyframes spinner-rotate{100%{transform:rotate(360deg)}}@-webkit-keyframes spinner-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124}}@keyframes spinner-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124}}";
|
|
6
|
+
|
|
7
|
+
const FlipSpinner$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
this.size = "m";
|
|
13
|
+
}
|
|
14
|
+
render() {
|
|
15
|
+
const className = classnames("spinner", `spinner--size-${this.size}`);
|
|
16
|
+
return (h(Host, null, h("span", { class: className, role: Boolean(this.label) ? "status" : undefined }, h("svg", { "aria-hidden": "true", class: "spinner__indicator", focusable: "false", viewBox: "0 0 50 50" }, h("circle", { class: "spinner__background", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" }), h("circle", { class: "spinner__circle", cx: "25", cy: "25", r: "20", fill: "none", "stroke-width": "4" })), this.label && (h("flip-visually-hidden", null, h("span", { class: "spinner__label" }, this.label))))));
|
|
17
|
+
}
|
|
18
|
+
static get style() { return flipSpinnerCss; }
|
|
19
|
+
}, [1, "flip-spinner", {
|
|
20
|
+
"label": [1],
|
|
21
|
+
"size": [1]
|
|
22
|
+
}]);
|
|
23
|
+
function defineCustomElement$1() {
|
|
24
|
+
if (typeof customElements === "undefined") {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
const components = ["flip-spinner", "flip-visually-hidden"];
|
|
28
|
+
components.forEach(tagName => { switch (tagName) {
|
|
29
|
+
case "flip-spinner":
|
|
30
|
+
if (!customElements.get(tagName)) {
|
|
31
|
+
customElements.define(tagName, FlipSpinner$1);
|
|
32
|
+
}
|
|
33
|
+
break;
|
|
34
|
+
case "flip-visually-hidden":
|
|
35
|
+
if (!customElements.get(tagName)) {
|
|
36
|
+
defineCustomElement$2();
|
|
37
|
+
}
|
|
38
|
+
break;
|
|
39
|
+
} });
|
|
40
|
+
}
|
|
41
|
+
defineCustomElement$1();
|
|
42
|
+
|
|
43
|
+
const FlipSpinner = FlipSpinner$1;
|
|
44
|
+
const defineCustomElement = defineCustomElement$1;
|
|
45
|
+
|
|
46
|
+
export { FlipSpinner, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipStack extends Components.FlipStack, HTMLElement {}
|
|
4
|
+
export const FlipStack: {
|
|
5
|
+
prototype: FlipStack;
|
|
6
|
+
new (): FlipStack;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as classnames } from './index2.js';
|
|
3
|
+
|
|
4
|
+
const flipStackCss = ":host{display:block;width:100%}:host *{box-sizing:border-box}.stack{display:flex;width:100%;max-width:100%}.stack ::slotted(*){min-width:0;max-width:100%;flex-basis:auto;flex-grow:0;flex-shrink:0}.stack--align-start{align-items:flex-start}.stack--align-center{align-items:center}.stack--align-end{align-items:flex-end}.stack--align-stretch{align-items:stretch}.stack--justify-start{justify-content:flex-start}.stack--justify-center{justify-content:center}.stack--justify-end{justify-content:flex-end}.stack--justify-space-between{justify-content:space-between}.stack--justify-space-around{justify-content:space-around}.stack--justify-space-evenly{justify-content:space-evenly}.stack--justify-stretch{justify-content:stretch}.stack--justify-stretch ::slotted(*){flex-grow:1}.stack--orientation-vertical{flex-direction:column}.stack--orientation-horizontal{flex-direction:row}.stack--wrap{flex-wrap:wrap}";
|
|
5
|
+
|
|
6
|
+
const FlipStack = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
|
+
constructor() {
|
|
8
|
+
super();
|
|
9
|
+
this.__registerHost();
|
|
10
|
+
this.__attachShadow();
|
|
11
|
+
this.align = "start";
|
|
12
|
+
this.as = "div";
|
|
13
|
+
this.justify = "start";
|
|
14
|
+
this.orientation = "vertical";
|
|
15
|
+
this.spacing = "0";
|
|
16
|
+
this.wrap = false;
|
|
17
|
+
}
|
|
18
|
+
render() {
|
|
19
|
+
const Tag = this.as;
|
|
20
|
+
const className = classnames("stack", `stack--align-${this.align}`, `stack--justify-${this.justify}`, `stack--orientation-${this.orientation}`, { "stack--wrap": this.wrap });
|
|
21
|
+
return (h(Host, null, h(Tag, { class: className, style: { gap: `var(--s-space-${this.spacing})` } }, h("slot", null))));
|
|
22
|
+
}
|
|
23
|
+
static get style() { return flipStackCss; }
|
|
24
|
+
}, [1, "flip-stack", {
|
|
25
|
+
"align": [1],
|
|
26
|
+
"as": [1],
|
|
27
|
+
"justify": [1],
|
|
28
|
+
"orientation": [1],
|
|
29
|
+
"spacing": [1],
|
|
30
|
+
"wrap": [4]
|
|
31
|
+
}]);
|
|
32
|
+
function defineCustomElement() {
|
|
33
|
+
if (typeof customElements === "undefined") {
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
const components = ["flip-stack"];
|
|
37
|
+
components.forEach(tagName => { switch (tagName) {
|
|
38
|
+
case "flip-stack":
|
|
39
|
+
if (!customElements.get(tagName)) {
|
|
40
|
+
customElements.define(tagName, FlipStack);
|
|
41
|
+
}
|
|
42
|
+
break;
|
|
43
|
+
} });
|
|
44
|
+
}
|
|
45
|
+
defineCustomElement();
|
|
46
|
+
|
|
47
|
+
export { FlipStack as F, defineCustomElement as d };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipSwitch extends Components.FlipSwitch, HTMLElement {}
|
|
4
|
+
export const FlipSwitch: {
|
|
5
|
+
prototype: FlipSwitch;
|
|
6
|
+
new (): FlipSwitch;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as classnames } from './index2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './flip-visually-hidden2.js';
|
|
4
|
+
|
|
5
|
+
const flipSwitchCss = ".sc-flip-switch-h{display:inline-flex}.sc-flip-switch-h *.sc-flip-switch{box-sizing:border-box}.switch.sc-flip-switch{display:inline-flex;align-items:center;touch-action:none}.switch.sc-flip-switch:focus-within .switch__control.sc-flip-switch{box-shadow:0 0 0 0.0625rem var(--s-background-default),\n 0 0 0 0.1875rem var(--s-focus-default)}.switch--size-m.sc-flip-switch .switch__control.sc-flip-switch{width:2.75rem;height:1.5rem;border-radius:calc(1.5rem / 2)}.switch--size-m.sc-flip-switch .switch__thumb.sc-flip-switch{width:1.25rem;height:1.25rem}.switch--on.switch--size-m.sc-flip-switch .switch__thumb.sc-flip-switch{left:calc(100% - 1.25rem - var(--s-space-2))}.switch--on.sc-flip-switch .switch__control.sc-flip-switch{background-color:var(--s-interactive-primary-default)}.switch--on.sc-flip-switch .switch__thumb.sc-flip-switch{left:calc(100% - 0.875rem - var(--s-space-2))}.switch--disabled.sc-flip-switch .switch__control.sc-flip-switch{background-color:var(--s-interactive-primary-disabled);cursor:default}.switch--disabled.sc-flip-switch .switch__thumb.sc-flip-switch{background-color:var(--s-interactive-neutral-default)}.switch--disabled.sc-flip-switch .switch__label.sc-flip-switch{color:var(--s-text-disabled)}.switch__control.sc-flip-switch{position:relative;width:1.875rem;height:1.125rem;flex-shrink:0;border-radius:calc(1.125rem / 2);background-color:var(--s-interactive-primary-disabled);cursor:pointer;transition:background-color 0.2s}@media (prefers-reduced-motion){.switch__control.sc-flip-switch{transition:none}}.switch__thumb.sc-flip-switch{position:absolute;top:var(--s-space-2);left:var(--s-space-2);width:0.875rem;height:0.875rem;border-radius:50%;background-color:var(--s-surface-default);transition:left 0.2s;pointer-events:none}@media (prefers-reduced-motion){.switch__thumb.sc-flip-switch{transition:none}}.switch__label.sc-flip-switch{position:relative;z-index:1;margin-left:var(--s-space-12);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-base)}";
|
|
6
|
+
|
|
7
|
+
const FlipSwitch$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.valueChange = createEvent(this, "valueChange", 7);
|
|
12
|
+
this.checked = false;
|
|
13
|
+
this.disabled = false;
|
|
14
|
+
this.size = "m";
|
|
15
|
+
this.dragging = false;
|
|
16
|
+
this.recentlyDragged = false;
|
|
17
|
+
this.onChange = () => {
|
|
18
|
+
if (this.dragging) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
if (this.recentlyDragged) {
|
|
22
|
+
this.recentlyDragged = false;
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
this.checked = !this.checked;
|
|
26
|
+
this.valueChange.emit(this.checked);
|
|
27
|
+
};
|
|
28
|
+
this.onStartDrag = () => {
|
|
29
|
+
if (this.disabled) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
this.dragging = true;
|
|
33
|
+
this.thumb.style.transition = "none";
|
|
34
|
+
};
|
|
35
|
+
this.onEndDrag = () => {
|
|
36
|
+
if (this.disabled) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
if (this.recentlyDragged) {
|
|
40
|
+
const controlBonds = this.control.getBoundingClientRect();
|
|
41
|
+
const thumbBounds = this.thumb.getBoundingClientRect();
|
|
42
|
+
const on = this.thumb.offsetLeft + thumbBounds.width / 2 > controlBonds.width / 2;
|
|
43
|
+
if (this.checked !== on) {
|
|
44
|
+
this.checked = on;
|
|
45
|
+
this.valueChange.emit(on);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
this.thumb.style.left = "";
|
|
49
|
+
this.thumb.style.transition = "";
|
|
50
|
+
this.dragging = false;
|
|
51
|
+
setTimeout(() => {
|
|
52
|
+
this.recentlyDragged = false;
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
this.onDrag = (event) => {
|
|
56
|
+
if (!this.dragging) {
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
this.recentlyDragged = true;
|
|
60
|
+
const controlBonds = this.control.getBoundingClientRect();
|
|
61
|
+
const thumbBounds = this.thumb.getBoundingClientRect();
|
|
62
|
+
let pos = Math.round(event.offsetX - thumbBounds.width / 2);
|
|
63
|
+
if (pos < 0) {
|
|
64
|
+
pos = 0;
|
|
65
|
+
}
|
|
66
|
+
if (pos > Math.round(controlBonds.width - thumbBounds.width)) {
|
|
67
|
+
pos = Math.round(controlBonds.width - thumbBounds.width);
|
|
68
|
+
}
|
|
69
|
+
this.thumb.style.left = `${pos}px`;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
onWindowPointerUp() {
|
|
73
|
+
this.onEndDrag();
|
|
74
|
+
}
|
|
75
|
+
render() {
|
|
76
|
+
const off = !this.checked;
|
|
77
|
+
const on = this.checked;
|
|
78
|
+
const ariaCheckedLabel = on ? "true" : "false";
|
|
79
|
+
const className = classnames("switch", `switch--size-${this.size}`, {
|
|
80
|
+
"switch--off": off,
|
|
81
|
+
"switch--on": on,
|
|
82
|
+
"switch--disabled": this.disabled,
|
|
83
|
+
});
|
|
84
|
+
return (h(Host, null, h("label", { class: className, htmlFor: this.inputId }, h("span", { class: "switch__control", onPointerDown: this.onStartDrag, onPointerMove: this.onDrag, onPointerUp: this.onEndDrag, ref: (el) => (this.control = el) }, h("flip-visually-hidden", null, h("input", { "aria-checked": ariaCheckedLabel, checked: on, class: "switch__input", disabled: this.disabled, id: this.inputId, name: this.inputName, onChange: this.onChange, role: "switch", type: "checkbox", value: this.value })), h("span", { "aria-hidden": "true", class: "switch__thumb", ref: (el) => (this.thumb = el) })), this.label && h("span", { class: "switch__label" }, this.label))));
|
|
85
|
+
}
|
|
86
|
+
get el() { return this; }
|
|
87
|
+
static get style() { return flipSwitchCss; }
|
|
88
|
+
}, [2, "flip-switch", {
|
|
89
|
+
"checked": [1028],
|
|
90
|
+
"disabled": [4],
|
|
91
|
+
"inputId": [1, "input-id"],
|
|
92
|
+
"inputName": [1, "input-name"],
|
|
93
|
+
"label": [1],
|
|
94
|
+
"size": [1],
|
|
95
|
+
"value": [1]
|
|
96
|
+
}, [[9, "pointerup", "onWindowPointerUp"]]]);
|
|
97
|
+
function defineCustomElement$1() {
|
|
98
|
+
if (typeof customElements === "undefined") {
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
const components = ["flip-switch", "flip-visually-hidden"];
|
|
102
|
+
components.forEach(tagName => { switch (tagName) {
|
|
103
|
+
case "flip-switch":
|
|
104
|
+
if (!customElements.get(tagName)) {
|
|
105
|
+
customElements.define(tagName, FlipSwitch$1);
|
|
106
|
+
}
|
|
107
|
+
break;
|
|
108
|
+
case "flip-visually-hidden":
|
|
109
|
+
if (!customElements.get(tagName)) {
|
|
110
|
+
defineCustomElement$2();
|
|
111
|
+
}
|
|
112
|
+
break;
|
|
113
|
+
} });
|
|
114
|
+
}
|
|
115
|
+
defineCustomElement$1();
|
|
116
|
+
|
|
117
|
+
const FlipSwitch = FlipSwitch$1;
|
|
118
|
+
const defineCustomElement = defineCustomElement$1;
|
|
119
|
+
|
|
120
|
+
export { FlipSwitch, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipTag extends Components.FlipTag, HTMLElement {}
|
|
4
|
+
export const FlipTag: {
|
|
5
|
+
prototype: FlipTag;
|
|
6
|
+
new (): FlipTag;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { c as classnames } from './index2.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './flip-icon-close2.js';
|
|
4
|
+
|
|
5
|
+
const flipTagCss = ":host{display:inline-flex}:host *{box-sizing:border-box}.tag{display:inline-flex;padding:var(--s-space-2) var(--s-space-8);align-items:center;border-radius:var(--s-border-radius-s);color:var(--s-text-default);background-color:var(--s-surface-neutral-subdued);font-size:var(--s-font-size-sm);font-weight:var(--s-font-weight-medium);line-height:var(--s-line-height-sm);gap:var(--s-space-4)}.tag--intent-info{color:var(--s-text-info);background-color:var(--s-surface-info-subdued)}.tag--intent-info .tag__removal-button{color:var(--icon-info)}.tag--intent-critical{color:var(--s-text-critical);background-color:var(--s-surface-critical-subdued)}.tag--intent-critical .tag__removal-button{color:var(--icon-critical)}.tag--intent-warning{color:var(--s-text-warning);background-color:var(--s-surface-warning-subdued)}.tag--intent-warning .tag__removal-button{color:var(--icon-warning)}.tag--intent-success{color:var(--s-text-success);background-color:var(--s-surface-success-subdued)}.tag--intent-success .tag__removal-button{color:var(--icon-success)}.tag__removal-button{display:inline-flex;margin-right:calc(-1 * var(--s-space-4));padding:0;border:none;color:var(--s-icon-strong);background-color:transparent;cursor:pointer}.tag__removal-button:focus{outline-color:var(--s-focus-default)}";
|
|
6
|
+
|
|
7
|
+
const FlipTag$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
8
|
+
constructor() {
|
|
9
|
+
super();
|
|
10
|
+
this.__registerHost();
|
|
11
|
+
this.__attachShadow();
|
|
12
|
+
this.remove = createEvent(this, "remove", 7);
|
|
13
|
+
this.intent = "default";
|
|
14
|
+
this.removalButtonLabel = "Remove";
|
|
15
|
+
this.onRemove = (event) => {
|
|
16
|
+
var _a;
|
|
17
|
+
(_a = this.remove) === null || _a === void 0 ? void 0 : _a.emit(event);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
render() {
|
|
21
|
+
const className = classnames("tag", `tag--intent-${this.intent}`);
|
|
22
|
+
return (h(Host, null, h("span", { class: className }, this.label, this.removable && (h("button", { "aria-label": this.removalButtonLabel, class: "tag__removal-button", onClick: this.onRemove, type: "button" }, h("flip-icon-close", { size: 16 }))))));
|
|
23
|
+
}
|
|
24
|
+
static get style() { return flipTagCss; }
|
|
25
|
+
}, [1, "flip-tag", {
|
|
26
|
+
"intent": [1],
|
|
27
|
+
"label": [1],
|
|
28
|
+
"removable": [4],
|
|
29
|
+
"removalButtonLabel": [1, "removal-button-label"]
|
|
30
|
+
}]);
|
|
31
|
+
function defineCustomElement$1() {
|
|
32
|
+
if (typeof customElements === "undefined") {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const components = ["flip-tag", "flip-icon-close"];
|
|
36
|
+
components.forEach(tagName => { switch (tagName) {
|
|
37
|
+
case "flip-tag":
|
|
38
|
+
if (!customElements.get(tagName)) {
|
|
39
|
+
customElements.define(tagName, FlipTag$1);
|
|
40
|
+
}
|
|
41
|
+
break;
|
|
42
|
+
case "flip-icon-close":
|
|
43
|
+
if (!customElements.get(tagName)) {
|
|
44
|
+
defineCustomElement$2();
|
|
45
|
+
}
|
|
46
|
+
break;
|
|
47
|
+
} });
|
|
48
|
+
}
|
|
49
|
+
defineCustomElement$1();
|
|
50
|
+
|
|
51
|
+
const FlipTag = FlipTag$1;
|
|
52
|
+
const defineCustomElement = defineCustomElement$1;
|
|
53
|
+
|
|
54
|
+
export { FlipTag, defineCustomElement };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FlipThemeProvider extends Components.FlipThemeProvider, HTMLElement {}
|
|
4
|
+
export const FlipThemeProvider: {
|
|
5
|
+
prototype: FlipThemeProvider;
|
|
6
|
+
new (): FlipThemeProvider;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|