@dropi/ui 0.1.26 → 0.1.28
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/dist/cjs/dropi-accordion-item.cjs.entry.js +54 -0
- package/dist/cjs/dropi-accordion.cjs.entry.js +19 -0
- package/dist/cjs/dropi-alert-legacy.cjs.entry.js +39 -0
- package/dist/cjs/dropi-alert-modal.cjs.entry.js +128 -0
- package/dist/cjs/dropi-alert.cjs.entry.js +64 -0
- package/dist/cjs/dropi-avatars.cjs.entry.js +31 -0
- package/dist/cjs/dropi-badge-legacy.cjs.entry.js +30 -0
- package/dist/cjs/dropi-badge.cjs.entry.js +37 -0
- package/dist/cjs/dropi-banner-external.cjs.entry.js +63 -0
- package/dist/cjs/dropi-breadcrumb.cjs.entry.js +48 -0
- package/dist/cjs/dropi-button.cjs.entry.js +87 -0
- package/dist/cjs/dropi-card-checkbox.cjs.entry.js +48 -0
- package/dist/cjs/dropi-card-product.cjs.entry.js +78 -0
- package/dist/cjs/dropi-card-section.cjs.entry.js +38 -0
- package/dist/cjs/dropi-carousel.cjs.entry.js +153 -0
- package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +73 -0
- package/dist/cjs/dropi-checkbox.cjs.entry.js +36 -0
- package/dist/cjs/dropi-chips.cjs.entry.js +30 -0
- package/dist/cjs/dropi-city-selector.cjs.entry.js +104 -0
- package/dist/cjs/dropi-color-picker.cjs.entry.js +319 -0
- package/dist/cjs/dropi-country-flags.cjs.entry.js +37 -0
- package/dist/cjs/dropi-country-selector.cjs.entry.js +197 -0
- package/dist/cjs/dropi-date-picker-range.cjs.entry.js +115 -0
- package/dist/cjs/dropi-date-picker.cjs.entry.js +223 -0
- package/dist/cjs/dropi-drawer.cjs.entry.js +79 -0
- package/dist/cjs/dropi-dropdown.cjs.entry.js +65 -0
- package/dist/cjs/dropi-empty-state.cjs.entry.js +36 -0
- package/dist/cjs/dropi-favorite-button.cjs.entry.js +27 -0
- package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +77 -0
- package/dist/cjs/dropi-file-upload.cjs.entry.js +237 -0
- package/dist/cjs/dropi-icon.cjs.entry.js +67 -0
- package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +39 -0
- package/dist/cjs/dropi-image-miniature.cjs.entry.js +44 -0
- package/dist/cjs/dropi-image-overlay.cjs.entry.js +63 -0
- package/dist/cjs/dropi-input_3.cjs.entry.js +392 -0
- package/dist/cjs/dropi-languages-selector.cjs.entry.js +61 -0
- package/dist/cjs/dropi-logo.cjs.entry.js +37 -0
- package/dist/cjs/dropi-lottie-loader.cjs.entry.js +27 -0
- package/dist/cjs/dropi-media-player.cjs.entry.js +192 -0
- package/dist/cjs/dropi-modal.cjs.entry.js +142 -0
- package/dist/cjs/dropi-navbar.cjs.entry.js +54 -0
- package/dist/cjs/dropi-otp-send-code.cjs.entry.js +92 -0
- package/dist/cjs/dropi-phone-input.cjs.entry.js +197 -0
- package/dist/cjs/dropi-radio-button.cjs.entry.js +47 -0
- package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +60 -0
- package/dist/cjs/dropi-read-more.cjs.entry.js +40 -0
- package/dist/cjs/dropi-search.cjs.entry.js +124 -0
- package/dist/cjs/dropi-select.cjs.entry.js +382 -0
- package/dist/cjs/dropi-sidebar.cjs.entry.js +78 -0
- package/dist/cjs/dropi-simple-stepper.cjs.entry.js +53 -0
- package/dist/cjs/dropi-skeleton.cjs.entry.js +57 -0
- package/dist/cjs/dropi-steps.cjs.entry.js +52 -0
- package/dist/cjs/dropi-switch.cjs.entry.js +30 -0
- package/dist/cjs/dropi-table.cjs.entry.js +299 -0
- package/dist/cjs/dropi-tabs.cjs.entry.js +51 -0
- package/dist/cjs/dropi-tag-type-product.cjs.entry.js +19 -0
- package/dist/cjs/dropi-text-area.cjs.entry.js +134 -0
- package/dist/cjs/dropi-time-line.cjs.entry.js +34 -0
- package/dist/cjs/dropi-toast.cjs.entry.js +56 -0
- package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +131 -0
- package/dist/cjs/dropi-tooltip.cjs.entry.js +21 -0
- package/dist/cjs/dropi-ui.cjs.js +24 -0
- package/dist/cjs/dropi-vertical-steps.cjs.entry.js +55 -0
- package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +33 -0
- package/dist/cjs/index-C8kwDvpf.js +2773 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/loader.cjs.js +12 -0
- package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +1 -0
- package/dist/collection/collection-manifest.json +77 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.css +45 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +172 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion.css +21 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion.js +48 -0
- package/dist/collection/components/dropi-alert/dropi-alert.css +128 -0
- package/dist/collection/components/dropi-alert/dropi-alert.js +371 -0
- package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.css +31 -0
- package/dist/collection/components/dropi-alert-legacy/dropi-alert-legacy.js +128 -0
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.css +105 -0
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +525 -0
- package/dist/collection/components/dropi-avatars/dropi-avatars.css +55 -0
- package/dist/collection/components/dropi-avatars/dropi-avatars.js +126 -0
- package/dist/collection/components/dropi-badge/dropi-badge.css +41 -0
- package/dist/collection/components/dropi-badge/dropi-badge.js +71 -0
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.css +17 -0
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +119 -0
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.css +56 -0
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +254 -0
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.css +69 -0
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +171 -0
- package/dist/collection/components/dropi-button/dropi-button.css +177 -0
- package/dist/collection/components/dropi-button/dropi-button.js +323 -0
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.css +92 -0
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +222 -0
- package/dist/collection/components/dropi-card-product/dropi-card-product.css +235 -0
- package/dist/collection/components/dropi-card-product/dropi-card-product.js +386 -0
- package/dist/collection/components/dropi-card-section/dropi-card-section.css +42 -0
- package/dist/collection/components/dropi-card-section/dropi-card-section.js +178 -0
- package/dist/collection/components/dropi-carousel/dropi-carousel.css +148 -0
- package/dist/collection/components/dropi-carousel/dropi-carousel.js +379 -0
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.css +47 -0
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +103 -0
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.css +44 -0
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +267 -0
- package/dist/collection/components/dropi-chips/dropi-chips.css +68 -0
- package/dist/collection/components/dropi-chips/dropi-chips.js +169 -0
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +218 -0
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +242 -0
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.css +210 -0
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +393 -0
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.css +30 -0
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +129 -0
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +211 -0
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +429 -0
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.css +215 -0
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +516 -0
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.css +143 -0
- package/dist/collection/components/dropi-date-picker-range/dropi-date-picker-range.js +327 -0
- package/dist/collection/components/dropi-drawer/dropi-drawer.css +129 -0
- package/dist/collection/components/dropi-drawer/dropi-drawer.js +287 -0
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.css +51 -0
- package/dist/collection/components/dropi-dropdown/dropi-dropdown.js +209 -0
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.css +59 -0
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.js +222 -0
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.css +24 -0
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +78 -0
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.css +464 -0
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +517 -0
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.css +115 -0
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +258 -0
- package/dist/collection/components/dropi-icon/dropi-icon.css +26 -0
- package/dist/collection/components/dropi-icon/dropi-icon.js +159 -0
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.css +91 -0
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +150 -0
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.css +45 -0
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +150 -0
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.css +127 -0
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +156 -0
- package/dist/collection/components/dropi-input/dropi-input.css +185 -0
- package/dist/collection/components/dropi-input/dropi-input.js +808 -0
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.css +79 -0
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +158 -0
- package/dist/collection/components/dropi-logo/dropi-logo.css +26 -0
- package/dist/collection/components/dropi-logo/dropi-logo.js +107 -0
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.css +56 -0
- package/dist/collection/components/dropi-lottie-loader/dropi-lottie-loader.js +116 -0
- package/dist/collection/components/dropi-media-player/dropi-media-player.css +320 -0
- package/dist/collection/components/dropi-media-player/dropi-media-player.js +394 -0
- package/dist/collection/components/dropi-modal/dropi-modal.css +140 -0
- package/dist/collection/components/dropi-modal/dropi-modal.js +695 -0
- package/dist/collection/components/dropi-navbar/dropi-navbar.css +166 -0
- package/dist/collection/components/dropi-navbar/dropi-navbar.js +302 -0
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.css +67 -0
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +221 -0
- package/dist/collection/components/dropi-paginator/dropi-paginator.css +103 -0
- package/dist/collection/components/dropi-paginator/dropi-paginator.js +215 -0
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +209 -0
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +442 -0
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.css +62 -0
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +174 -0
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.css +64 -0
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +259 -0
- package/dist/collection/components/dropi-read-more/dropi-read-more.css +25 -0
- package/dist/collection/components/dropi-read-more/dropi-read-more.js +154 -0
- package/dist/collection/components/dropi-search/dropi-search.css +112 -0
- package/dist/collection/components/dropi-search/dropi-search.js +526 -0
- package/dist/collection/components/dropi-select/dropi-select.css +366 -0
- package/dist/collection/components/dropi-select/dropi-select.js +1018 -0
- package/dist/collection/components/dropi-select/select.types.js +1 -0
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.css +76 -0
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +143 -0
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.css +94 -0
- package/dist/collection/components/dropi-simple-stepper/dropi-simple-stepper.js +194 -0
- package/dist/collection/components/dropi-skeleton/dropi-skeleton.css +27 -0
- package/dist/collection/components/dropi-skeleton/dropi-skeleton.js +192 -0
- package/dist/collection/components/dropi-steps/dropi-steps.css +95 -0
- package/dist/collection/components/dropi-steps/dropi-steps.js +173 -0
- package/dist/collection/components/dropi-switch/dropi-switch.css +57 -0
- package/dist/collection/components/dropi-switch/dropi-switch.js +96 -0
- package/dist/collection/components/dropi-table/dropi-table.css +540 -0
- package/dist/collection/components/dropi-table/dropi-table.js +973 -0
- package/dist/collection/components/dropi-tabs/dropi-tabs.css +47 -0
- package/dist/collection/components/dropi-tabs/dropi-tabs.js +181 -0
- package/dist/collection/components/dropi-tag/dropi-tag.css +39 -0
- package/dist/collection/components/dropi-tag/dropi-tag.js +190 -0
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.css +14 -0
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +48 -0
- package/dist/collection/components/dropi-text-area/dropi-text-area.css +100 -0
- package/dist/collection/components/dropi-text-area/dropi-text-area.js +512 -0
- package/dist/collection/components/dropi-time-line/dropi-time-line.css +108 -0
- package/dist/collection/components/dropi-time-line/dropi-time-line.js +69 -0
- package/dist/collection/components/dropi-toast/dropi-toast.css +63 -0
- package/dist/collection/components/dropi-toast/dropi-toast.js +165 -0
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +32 -0
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +70 -0
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +67 -0
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +468 -0
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.css +95 -0
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +167 -0
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css +73 -0
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +110 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/utils.js +3 -0
- package/dist/collection/utils/utils.unit.test.js +16 -0
- package/dist/components/dropi-accordion-item.js +1 -0
- package/dist/components/dropi-accordion.js +1 -0
- package/dist/components/dropi-alert-legacy.js +1 -0
- package/dist/components/dropi-alert-modal.js +1 -0
- package/dist/components/dropi-alert.js +1 -0
- package/dist/components/dropi-avatars.js +1 -0
- package/dist/components/dropi-badge-legacy.js +1 -0
- package/dist/components/dropi-badge.js +1 -0
- package/dist/components/dropi-banner-external.js +1 -0
- package/dist/components/dropi-breadcrumb.js +1 -0
- package/dist/components/dropi-button.js +1 -0
- package/dist/components/dropi-card-checkbox.js +1 -0
- package/dist/components/dropi-card-product.js +1 -0
- package/dist/components/dropi-card-section.js +1 -0
- package/dist/components/dropi-carousel.js +1 -0
- package/dist/components/dropi-checkbox-selection-list.js +1 -0
- package/dist/components/dropi-checkbox.js +1 -0
- package/dist/components/dropi-chips.js +1 -0
- package/dist/components/dropi-city-selector.js +1 -0
- package/dist/components/dropi-color-picker.js +1 -0
- package/dist/components/dropi-country-flags.js +1 -0
- package/dist/components/dropi-country-selector.js +1 -0
- package/dist/components/dropi-date-picker-range.js +1 -0
- package/dist/components/dropi-date-picker.js +1 -0
- package/dist/components/dropi-drawer.js +1 -0
- package/dist/components/dropi-dropdown.js +1 -0
- package/dist/components/dropi-empty-state.js +1 -0
- package/dist/components/dropi-favorite-button.js +1 -0
- package/dist/components/dropi-file-upload-progress-bar.js +1 -0
- package/dist/components/dropi-file-upload.js +1 -0
- package/dist/components/dropi-icon.js +1 -0
- package/dist/components/dropi-ilustration-icon.js +1 -0
- package/dist/components/dropi-image-miniature.js +1 -0
- package/dist/components/dropi-image-overlay.js +1 -0
- package/dist/components/dropi-input.js +1 -0
- package/dist/components/dropi-languages-selector.js +1 -0
- package/dist/components/dropi-logo.js +1 -0
- package/dist/components/dropi-lottie-loader.js +1 -0
- package/dist/components/dropi-media-player.js +1 -0
- package/dist/components/dropi-modal.js +1 -0
- package/dist/components/dropi-navbar.js +1 -0
- package/dist/components/dropi-otp-send-code.js +1 -0
- package/dist/components/dropi-paginator.js +1 -0
- package/dist/components/dropi-phone-input.js +1 -0
- package/dist/components/dropi-radio-button.js +1 -0
- package/dist/components/dropi-radio-selection-list.js +1 -0
- package/dist/components/dropi-read-more.js +1 -0
- package/dist/components/dropi-search.js +1 -0
- package/dist/components/dropi-select.js +1 -0
- package/dist/components/dropi-sidebar.js +1 -0
- package/dist/components/dropi-simple-stepper.js +1 -0
- package/dist/components/dropi-skeleton.js +1 -0
- package/dist/components/dropi-steps.js +1 -0
- package/dist/components/dropi-switch.js +1 -0
- package/dist/components/dropi-table.js +1 -0
- package/dist/components/dropi-tabs.js +1 -0
- package/dist/components/dropi-tag-type-product.js +1 -0
- package/dist/components/dropi-tag.js +1 -0
- package/dist/components/dropi-text-area.js +1 -0
- package/dist/components/dropi-time-line.js +1 -0
- package/dist/components/dropi-toast.js +1 -0
- package/dist/components/dropi-tooltip-v2.js +1 -0
- package/dist/components/dropi-tooltip.js +1 -0
- package/dist/components/dropi-vertical-steps.js +1 -0
- package/dist/components/dropi-youtube-lazy-video.js +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p-B9R8Apw7.js +1 -0
- package/dist/components/p-B_Ace02i.js +1 -0
- package/dist/components/p-BrjO_JXp.js +1 -0
- package/dist/components/p-BwhxWL4p.js +1 -0
- package/dist/components/p-Bz2jXX3R.js +1 -0
- package/dist/components/p-CV_oz45O.js +1 -0
- package/dist/components/p-D-vQQQNz.js +1 -0
- package/dist/components/p-D13d88W3.js +1 -0
- package/dist/components/p-DGUfr98Z.js +1 -0
- package/dist/components/p-QOZr7tU8.js +1 -0
- package/dist/components/p-a-hGQrJd.js +1 -0
- package/dist/components/p-o5gyrbbD.js +1 -0
- package/dist/dropi-ui/dropi-ui.css +1 -311
- package/dist/dropi-ui/dropi-ui.esm.js +1 -50
- package/dist/dropi-ui/index.esm.js +0 -4
- package/dist/dropi-ui/p-00e5a2de.entry.js +1 -0
- package/dist/dropi-ui/p-0188e07a.entry.js +1 -0
- package/dist/dropi-ui/p-02710049.entry.js +1 -0
- package/dist/dropi-ui/p-17c56074.entry.js +1 -0
- package/dist/dropi-ui/p-18adf694.entry.js +1 -0
- package/dist/dropi-ui/p-1a3619c3.entry.js +1 -0
- package/dist/dropi-ui/p-1d3d6a32.entry.js +1 -0
- package/dist/dropi-ui/p-25640777.entry.js +1 -0
- package/dist/dropi-ui/p-2674d901.entry.js +1 -0
- package/dist/dropi-ui/p-2af538b9.entry.js +1 -0
- package/dist/dropi-ui/p-3013f3b8.entry.js +1 -0
- package/dist/dropi-ui/p-3321ca70.entry.js +1 -0
- package/dist/dropi-ui/p-33d242ec.entry.js +1 -0
- package/dist/dropi-ui/p-34b66ca2.entry.js +1 -0
- package/dist/dropi-ui/p-39af6478.entry.js +1 -0
- package/dist/dropi-ui/p-3e36c8b8.entry.js +1 -0
- package/dist/dropi-ui/p-3ebc9b7b.entry.js +1 -0
- package/dist/dropi-ui/p-446a481d.entry.js +1 -0
- package/dist/dropi-ui/p-50e0d44f.entry.js +1 -0
- package/dist/dropi-ui/p-53a7a37d.entry.js +1 -0
- package/dist/dropi-ui/p-5c0bd7c2.entry.js +1 -0
- package/dist/dropi-ui/p-5cee6721.entry.js +1 -0
- package/dist/dropi-ui/p-5fb33ae4.entry.js +1 -0
- package/dist/dropi-ui/p-665ef7ba.entry.js +1 -0
- package/dist/dropi-ui/p-66b80371.entry.js +1 -0
- package/dist/dropi-ui/p-7bfc1c27.entry.js +1 -0
- package/dist/dropi-ui/p-7c0d2edf.entry.js +1 -0
- package/dist/dropi-ui/p-7eb27836.entry.js +1 -0
- package/dist/dropi-ui/p-85444414.entry.js +1 -0
- package/dist/dropi-ui/p-86283e99.entry.js +1 -0
- package/dist/dropi-ui/p-8bf5d8ee.entry.js +1 -0
- package/dist/dropi-ui/p-9032ba00.entry.js +1 -0
- package/dist/dropi-ui/p-9212f544.entry.js +1 -0
- package/dist/dropi-ui/p-92291873.entry.js +1 -0
- package/dist/dropi-ui/p-955e52f8.entry.js +1 -0
- package/dist/dropi-ui/p-976a15e3.entry.js +1 -0
- package/dist/dropi-ui/p-9b037086.entry.js +1 -0
- package/dist/dropi-ui/p-9e0129cc.entry.js +1 -0
- package/dist/dropi-ui/p-9ffec3f7.entry.js +1 -0
- package/dist/dropi-ui/p-D5SAM1O2.js +2 -0
- package/dist/dropi-ui/p-a1c93e55.entry.js +1 -0
- package/dist/dropi-ui/p-a232c6a7.entry.js +1 -0
- package/dist/dropi-ui/p-a3c4d677.entry.js +1 -0
- package/dist/dropi-ui/p-a457e8ca.entry.js +1 -0
- package/dist/dropi-ui/p-a4e1df5e.entry.js +1 -0
- package/dist/dropi-ui/p-a822a23e.entry.js +1 -0
- package/dist/dropi-ui/p-a8f24270.entry.js +1 -0
- package/dist/dropi-ui/p-ae35d538.entry.js +1 -0
- package/dist/dropi-ui/p-af8e2157.entry.js +1 -0
- package/dist/dropi-ui/p-b2623a5c.entry.js +1 -0
- package/dist/dropi-ui/p-b3d3c72e.entry.js +1 -0
- package/dist/dropi-ui/p-c3614c4a.entry.js +1 -0
- package/dist/dropi-ui/p-cbf5367e.entry.js +1 -0
- package/dist/dropi-ui/p-cc527d91.entry.js +1 -0
- package/dist/dropi-ui/p-cdde481b.entry.js +1 -0
- package/dist/dropi-ui/p-d42d4ef7.entry.js +1 -0
- package/dist/dropi-ui/p-db38bf16.entry.js +1 -0
- package/dist/dropi-ui/p-dd5d8b1b.entry.js +1 -0
- package/dist/dropi-ui/p-e3ad21f8.entry.js +1 -0
- package/dist/dropi-ui/p-e6e766ed.entry.js +1 -0
- package/dist/dropi-ui/p-ec263862.entry.js +1 -0
- package/dist/dropi-ui/p-efc2fc35.entry.js +1 -0
- package/dist/dropi-ui/p-f41cd9b5.entry.js +1 -0
- package/dist/dropi-ui/p-fa3d0267.entry.js +1 -0
- package/dist/{dropi-ui → esm}/dropi-accordion-item.entry.js +2 -8
- package/dist/{dropi-ui → esm}/dropi-accordion.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-alert-legacy.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-alert-modal.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-alert.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-avatars.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-badge-legacy.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-badge.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-banner-external.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-breadcrumb.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-button.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-card-checkbox.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-card-product.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-card-section.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-carousel.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-checkbox-selection-list.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-checkbox.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-chips.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-city-selector.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-color-picker.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-country-flags.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-country-selector.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-date-picker-range.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-date-picker.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-drawer.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-dropdown.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-empty-state.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-favorite-button.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-file-upload-progress-bar.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-file-upload.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-icon.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-ilustration-icon.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-image-miniature.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-image-overlay.entry.js +1 -4
- package/dist/{dropi-ui/dropi-input.entry.js → esm/dropi-input_3.entry.js} +128 -4
- package/dist/{dropi-ui → esm}/dropi-languages-selector.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-logo.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-lottie-loader.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-media-player.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-modal.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-navbar.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-otp-send-code.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-phone-input.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-radio-button.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-radio-selection-list.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-read-more.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-search.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-select.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-sidebar.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-simple-stepper.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-skeleton.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-steps.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-switch.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-table.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tabs.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tag-type-product.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-text-area.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-time-line.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-toast.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tooltip-v2.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-tooltip.entry.js +1 -4
- package/dist/esm/dropi-ui.js +20 -0
- package/dist/{dropi-ui → esm}/dropi-vertical-steps.entry.js +1 -4
- package/dist/{dropi-ui → esm}/dropi-youtube-lazy-video.entry.js +1 -4
- package/dist/esm/index-D5SAM1O2.js +2763 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +10 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
- package/scripts/setup.js +38 -2
- package/dist/dropi-ui/dropi-accordion-item.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-accordion.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-alert-legacy.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-alert-modal.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-alert.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-avatars.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-badge-legacy.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-badge.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-banner-external.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-breadcrumb.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-button.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-card-product.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-card-section.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-carousel.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-checkbox.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-chips.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-city-selector.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-color-picker.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-country-flags.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-country-selector.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-date-picker.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-drawer.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-dropdown.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-empty-state.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-favorite-button.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-file-upload.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-icon.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-image-miniature.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-image-overlay.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-input.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-languages-selector.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-logo.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-media-player.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-modal.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-navbar.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-paginator.entry.js +0 -70
- package/dist/dropi-ui/dropi-paginator.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-phone-input.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-radio-button.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-read-more.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-search.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-select.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-sidebar.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-simple-stepper.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-skeleton.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-steps.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-switch.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-table.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tabs.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tag-type-product.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tag.entry.js +0 -69
- package/dist/dropi-ui/dropi-tag.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-text-area.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-time-line.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-toast.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-tooltip.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-ui.esm.js.map +0 -1
- package/dist/dropi-ui/dropi-vertical-steps.entry.js.map +0 -1
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js.map +0 -1
- package/dist/dropi-ui/index-Cvp2LQOM.js +0 -4585
- package/dist/dropi-ui/index-Cvp2LQOM.js.map +0 -1
- package/dist/dropi-ui/index.esm.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"dropi-toast.entry.js","mappings":";;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,uwFAAuwF,CAAC;;MCqCxxF,UAAU,GAAA,MAAA;;;;;IAEb,QAAQ,GAA+F,WAAW;;IAElH,IAAI,GAAW,IAAI;IAEV,KAAK,GAAgB,EAAE;IAChC,SAAS,GAAG,CAAC;;IAIrB,MAAM,IAAI,CAAC,GAAiB,EAAA;AAC1B,QAAA,OAAO,CAAC,GAAG,CAAC,gCAAgC,EAAE,GAAG,CAAC;AAClD,QAAA,MAAM,EAAE,GAAG,GAAG,CAAC,EAAE,IAAI,CAAA,CAAA,EAAI,EAAE,IAAI,CAAC,SAAS,CA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AC,MAAM,CAAK,CAC5D,CACF,EACL,IAAI,CAAC,GAAG,CAAC,QAAQ,KAChB,CAAA,CAAA,QAAA,EAAA,EAAQ,KAAK,EAAC,aAAa,EAAC,OAAO,EAAE,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,EAAG,CAAC,EAAA,EAClE,CAAA,CAAA,YAAA,EAAA,EAAY,IAAI,EAAC,aAAa,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,eAAe,EAAA,CAAG,CAC3E,CACV,CACG,CACF,CACP,CAAC,CACE;;;;;;;","names":[],"sources":["src/components/dropi-toast/dropi-toast.css?tag=dropi-toast&encapsulation=shadow","src/components/dropi-toast/dropi-toast.tsx"],"sourcesContent":[":host { display: contents; }\n*, *::before, *::after { box-sizing: border-box; }\n\n.toast-container { position: fixed; z-index: 9999; display: flex; flex-direction: column; gap: 8px; max-width: 380px; width: 100%; pointer-events: none; }\n.toast-container--top-right { top: 80px; right: 0; padding: var(--Size-2, 8px); }\n.toast-container--top-left { top: 80px; left: 0; padding: var(--Size-2, 8px); }\n.toast-container--bottom-right { bottom: 24px; right: 0; padding: var(--Size-2, 8px); flex-direction: column-reverse; }\n.toast-container--bottom-left { bottom: 24px; left: 0; padding: var(--Size-2, 8px); flex-direction: column-reverse; }\n.toast-container--top-center { top: 80px; left: 50%; transform: translateX(-50%); padding: var(--Size-2, 8px); }\n.toast-container--bottom-center { bottom: 24px; left: 50%; transform: translateX(-50%); padding: var(--Size-2, 8px); flex-direction: column-reverse; }\n\n.toast-wrapper { pointer-events: auto; animation: toast-in 0.28s ease; transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.32s ease; overflow: hidden; max-height: 200px; }\n.toast-wrapper--leaving { opacity: 0; transform: translateX(20px); max-height: 0; pointer-events: none; }\n@keyframes toast-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }\n\n.toast { position: relative; display: flex; align-items: flex-start; border-radius: var(--Border-2,8px); background: var(--Neutral-White, #ffffff); box-shadow: 0.5px -1px 7px 0px rgba(0, 0, 0, 0.06), 0px 4px 20px 0px rgba(0, 0, 0, 0.12); border-left: var(--Size-2, 8px) solid; overflow: hidden; min-width: 300px; }\n.toast--success { border-color: var(--Success-Success-500,#34c38f); }\n.toast--error { border-color: var(--Error-Error-500,#f46a6b); }\n.toast--warn { border-color: var(--Warning-Warning-500,#f1b44c); }\n.toast--info { border-color: var(--Info-Info-500,#50a5f1); }\n\n.toast-content {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n padding: var(--Size-5) var(--Size-5) var(--Size-5) calc(var(--Size-5) - var(--Size-2, 8px));\n gap: var(--Size-4, 16px);\n}\n\n.lottie-img {\n width: 50px;\n height: 50px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n\n.lottie-player-container {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\nlottie-player {\n width: 100%;\n height: 100%;\n display: block;\n}\n\n.info-container { flex: 1; min-width: 0; align-self: center; display: flex; flex-direction: column; gap: var(--Size-1, 4px); }\n.title { margin: 0; font-size: var(--font-size-l,18px); font-weight: var(--font-weight-bold,700); color: var(--Gray-Gray-700,#32394d); line-height: 1.1; text-align: left; max-width: 250px; }\n.description { margin: 0; font-size: var(--font-size-s,14px); color: var(--Gray-Gray-500, #69738c); line-height: 1.4; text-align: left; max-width: 250px; }\n\n.toast-close { position: absolute; top: 18px; right: 10px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }\n.toast-close:hover { opacity: 0.7; }\n","import { Component, Prop, State, Method, h } from '@stencil/core';\n\nexport type ToastSeverity = 'success' | 'error' | 'warn' | 'info';\n\nexport interface ToastMessage {\n id?: string;\n /** Visual style and icon */\n severity: ToastSeverity;\n /** Bold title */\n summary: string;\n /** Optional body text */\n detail?: string;\n /** Whether to show a close button. Default: true */\n closable?: boolean;\n /** Auto-close after N ms. 0 = manual only. Default: uses component `life` prop */\n life?: number;\n}\n\ninterface ToastItem {\n msg: ToastMessage;\n leaving: boolean;\n timer?: any;\n}\n\n/**\n * @component dropi-toast\n * Global toast notification stack. Place once in the app root, call show() from JS.\n *\n * @example\n * const t = document.querySelector('dropi-toast');\n * t.show({ severity: 'success', summary: '¡Guardado!', detail: 'Cambios aplicados.' });\n */\n@Component({\n tag: 'dropi-toast',\n styleUrl: 'dropi-toast.css',\n shadow: true,\n})\nexport class DropiToast {\n /** Toast position */\n @Prop() position: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center' = 'top-right';\n /** Default auto-close ms (0 = manual) */\n @Prop() life: number = 3000;\n\n @State() private items: ToastItem[] = [];\n private idCounter = 0;\n\n /** Show a toast */\n @Method()\n async show(msg: ToastMessage) {\n console.log('DropiToast show() called with:', msg);\n const id = msg.id ?? `t${++this.idCounter}`;\n const item: ToastItem = { msg: { ...msg, id, closable: msg.closable ?? true }, leaving: false };\n this.items = [...(this.items || []), item];\n const ms = msg.life !== undefined ? msg.life : this.life;\n if (ms > 0) item.timer = setTimeout(() => this.remove(id), ms);\n }\n\n /** Remove all toasts */\n @Method()\n async clear() {\n (this.items || []).forEach(i => {\n if (i.timer) clearTimeout(i.timer);\n });\n this.items = [];\n }\n\n private remove(id: string) {\n this.items = this.items.map(i => (i.msg.id === id ? { ...i, leaving: true } : i));\n setTimeout(() => {\n this.items = this.items.filter(i => i.msg.id !== id);\n }, 320);\n }\n\n private readonly lottieMap: Record<ToastSeverity, string> = {\n success: '/assets/lottie-files/success.json',\n error: '/assets/lottie-files/failure.json',\n warn: '/assets/lottie-files/warning.json',\n info: '/assets/lottie-files/question.json',\n };\n\n private getLottieHtml(severity: ToastSeverity): string {\n return `<lottie-player src=\"${this.lottieMap[severity]}\" background=\"transparent\" speed=\"1\" loop autoplay></lottie-player>`;\n }\n\n render() {\n return (\n <div class={`toast-container toast-container--${this.position}`}>\n {(this.items ?? []).map(item => (\n <div key={item.msg.id} class={{ 'toast-wrapper': true, 'toast-wrapper--leaving': item.leaving }}>\n <div class={`toast toast--${item.msg.severity}`}>\n <div class=\"toast-content\">\n <div class=\"lottie-img\">\n <div class=\"lottie-player-container\" innerHTML={this.getLottieHtml(item.msg.severity)}></div>\n </div>\n <div class=\"info-container\">\n <p class=\"title\">{item.msg.summary}</p>\n {item.msg.detail && <p class=\"description\">{item.msg.detail}</p>}\n </div>\n </div>\n {item.msg.closable && (\n <button class=\"toast-close\" onClick={() => this.remove(item.msg.id!)}>\n <dropi-icon name=\"Close-small\" width=\"20px\" height=\"20px\" color=\"Gray-Gray-400\" />\n </button>\n )}\n </div>\n </div>\n ))}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"dropi-tooltip-v2.entry.js","mappings":";;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,u1DAAu1D,CAAC;;MCoB12D,cAAc,GAAA,MAAA;;;;;IAEjB,IAAI,GAAW,EAAE;;IAEjB,KAAK,GAAW,EAAE;;IAElB,KAAK,GAAW,EAAE;;IAElB,QAAQ,GAAoB,QAAQ;;IAEpC,aAAa,GAAkB,QAAQ;;IAEtB,OAAO,GAAmB,OAAO;;IAElD,QAAQ,GAAW,OAAO;;IAE1B,QAAQ,GAAW,OAAO;;IAE1B,SAAS,GAAW,CAAC;;IAErB,QAAQ,GAAY,KAAK;;IAEzB,QAAQ,GAAY,IAAI;;IAEP,KAAK,GAAY,KAAK;;IAEvC,QAAQ,GAAW,SAAS;;IAE5B,SAAS,GAAW,SAAS;;IAE7B,QAAQ,GAAW,IAAI;IAEd,OAAO,GAAY,KAAK;IACjC,SAAS,GAAQ,IAAI;IACrB,YAAY,GAAQ,IAAI;IAEhC,gBAAgB,GAAA;AACd,QAAA,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ;YAAE,IAAI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AK,EAAC,eAAe,EAAA,CAAG,CAC3E,CACV,EACA,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA,CAAA,QAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAQ,KAAK,EAAC,eAAe,EAAA,EAAE,IAAI,CAAC,KAAK,CAAU,EAC/E,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,eAAe,EAAA,EAAE,IAAI,CAAC,KAAK,CAAQ,EAC3E,IAAI,CAAC,IAAI,IAAI,+DAAO,IAAI,CAAC,IAAI,CAAQ,EACtC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAE,CAAA,6BAAA,EAAgC,IAAI,CAAC,QAAQ,EAAE,EAAA,CAAI,CAC5D,CACP,CACG;;;;;;;","names":[],"sources":["src/components/dropi-tooltip-v2/dropi-tooltip.css?tag=dropi-tooltip-v2&encapsulation=shadow","src/components/dropi-tooltip-v2/dropi-tooltip.tsx"],"sourcesContent":[":host { display: inline-block; }\n*, *::before, *::after { box-sizing: border-box; }\n\n.tooltip-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; }\n\n.tooltip-bubble {\n position: absolute; z-index: 9999;\n background: var(--Gray-Gray-800); color: var(--Neutral-White, #ffffff);\n font-size: var(--font-size-s,14px); line-height: 1.5;\n padding: 8px 12px; border-radius: 8px;\n white-space: normal; pointer-events: none;\n opacity: 0; transition: opacity 0.15s ease, transform 0.15s ease;\n word-break: break-word;\n box-shadow: var(--Shadow-medium);\n text-align: left;\n width: max-content;\n}\n.tooltip-bubble--visible { opacity: 1; }\n\n.tooltip-bubble--top { bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); }\n.tooltip-bubble--bottom { top: calc(100% + 12px); left: 50%; transform: translateX(-50%); }\n.tooltip-bubble--left { right: calc(100% + 12px); top: 50%; transform: translateY(-50%); }\n.tooltip-bubble--right { left: calc(100% + 12px); top: 50%; transform: translateY(-50%); }\n\n.tooltip-arrow { position: absolute; width: 12px; height: 6px; }\n.tooltip-arrow::before {\n content: '';\n position: absolute;\n width: 0;\n height: 0;\n}\n\n.tooltip-arrow--top {\n top: 100%; left: 50%; transform: translateX(-50%);\n}\n.tooltip-arrow--top::before {\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-top: 6px solid var(--Gray-Gray-800);\n}\n\n.tooltip-arrow--bottom {\n bottom: 100%; left: 50%; transform: translateX(-50%);\n}\n.tooltip-arrow--bottom::before {\n border-left: 6px solid transparent;\n border-right: 6px solid transparent;\n border-bottom: 6px solid var(--Gray-Gray-800);\n}\n\n.tooltip-arrow--left {\n left: 100%; top: 50%; transform: translateY(-50%);\n}\n.tooltip-arrow--left::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n border-left: 6px solid var(--Gray-Gray-800);\n}\n\n.tooltip-arrow--right {\n right: 100%; top: 50%; transform: translateY(-50%);\n}\n.tooltip-arrow--right::before {\n border-top: 6px solid transparent;\n border-bottom: 6px solid transparent;\n border-right: 6px solid var(--Gray-Gray-800);\n}\n","import { Component, Prop, State, h } from '@stencil/core';\n\nexport type TooltipPosition = 'top' | 'bottom' | 'left' | 'right';\nexport type TooltipTrigger = 'hover' | 'click' | 'focus' | 'timeout' | 'static' | 'hidden';\nexport type ArrowPosition = 'start' | 'center' | 'end';\n\n/**\n * @component dropi-tooltip\n * Wraps content and shows a tooltip bubble on hover/focus.\n *\n * @example\n * <dropi-tooltip-v2 text=\"Más información\" position=\"top\">\n * <dropi-button text=\"Hover\" />\n * </dropi-tooltip-v2>\n */\n@Component({\n tag: 'dropi-tooltip-v2',\n styleUrl: 'dropi-tooltip.css',\n shadow: true,\n})\nexport class DropiTooltipV2 {\n /** Tooltip text */\n @Prop() text: string = '';\n /** Tooltip title (bold, shown with label) */\n @Prop() title: string = '';\n /** Tooltip label (shown below title) */\n @Prop() label: string = '';\n /** Position: top | bottom | left | right */\n @Prop() position: TooltipPosition = 'bottom';\n /** Position of the arrow: start | center | end (matches Angular `arrowPosition`) */\n @Prop() arrowPosition: ArrowPosition = 'center';\n /** Trigger: hover | click | focus | timeout | static | hidden */\n @Prop({ mutable: true }) trigger: TooltipTrigger = 'hover';\n /** Max CSS width of the bubble */\n @Prop() maxWidth: string = '280px';\n /** Min CSS width of the bubble (matches Angular `minWidth`) */\n @Prop() minWidth: string = '300px';\n /** Delay in ms before showing */\n @Prop() showDelay: number = 0;\n /** Disable the tooltip completely (matches Angular `disabled`) */\n @Prop() disabled: boolean = false;\n /** Show the trigger icon (matches Angular `showIcon`) */\n @Prop() showIcon: boolean = true;\n /** Show the close (X) button inside the bubble (matches Angular `showX`) */\n @Prop({ mutable: true }) showX: boolean = false;\n /** Icon name from the dropi-icon sprite (matches Angular `iconName`) */\n @Prop() iconName: string = 'Tooltip';\n /** Icon color token or hex (matches Angular `iconColor`) */\n @Prop() iconColor: string = '#7B8190';\n /** Icon size in px without unit (matches Angular `iconSize`) */\n @Prop() iconSize: string = '14';\n\n @State() private visible: boolean = false;\n private showTimer: any = null;\n private timeoutTimer: any = null;\n\n componentDidLoad() {\n if (this.trigger === 'static') this.show();\n if (this.trigger === 'timeout') this.showWithTimeout();\n }\n\n private show = () => {\n if (this.disabled || this.trigger === 'hidden') return;\n const content = this.text || this.title || this.label;\n if (!content.trim()) return;\n if (this.showDelay > 0) {\n this.showTimer = setTimeout(() => { this.visible = true; }, this.showDelay);\n } else {\n this.visible = true;\n }\n };\n\n private hide = () => {\n if (this.showTimer) { clearTimeout(this.showTimer); this.showTimer = null; }\n if (this.timeoutTimer) { clearTimeout(this.timeoutTimer); this.timeoutTimer = null; }\n this.visible = false;\n };\n\n private showWithTimeout() {\n this.show();\n this.timeoutTimer = setTimeout(() => this.hide(), 6000);\n }\n\n private handleMouseEnter = () => {\n if (this.trigger !== 'hover') return;\n this.show();\n };\n\n private handleMouseLeave = () => {\n if (this.trigger !== 'hover') return;\n setTimeout(() => this.hide(), 10);\n };\n\n private handleClick = () => {\n if (this.trigger !== 'click') return;\n this.visible ? this.hide() : this.show();\n };\n\n private handleFocusin = () => {\n if (this.trigger !== 'focus') return;\n this.show();\n };\n\n private handleFocusout = () => {\n if (this.trigger !== 'focus') return;\n this.hide();\n };\n\n private handleClose = () => {\n if (this.trigger === 'static') {\n this.trigger = 'hover';\n this.showX = false;\n }\n this.hide();\n };\n\n private get displayContent(): string {\n if (this.text) return this.text;\n if (this.title && this.label) return `${this.title}\\n${this.label}`;\n return this.title || this.label || '';\n }\n\n render() {\n const bubbleStyle: any = { maxWidth: this.maxWidth };\n if (this.minWidth) bubbleStyle.minWidth = this.minWidth;\n\n return (\n <div\n class=\"tooltip-wrapper\"\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n onClick={this.handleClick}\n onFocusin={this.handleFocusin}\n onFocusout={this.handleFocusout}\n >\n {this.showIcon && (\n <dropi-icon\n name={this.iconName}\n width={`${this.iconSize}px`}\n height={`${this.iconSize}px`}\n color={this.iconColor}\n />\n )}\n <slot />\n\n {this.displayContent && (\n <div\n class={{\n 'tooltip-bubble': true,\n [`tooltip-bubble--${this.position}`]: true,\n [`tooltip-bubble--arrow-${this.arrowPosition}`]: true,\n 'tooltip-bubble--visible': this.visible,\n }}\n style={bubbleStyle}\n role=\"tooltip\"\n >\n {this.showX && (\n <button class=\"tooltip-close\" onClick={this.handleClose} aria-label=\"Cerrar\">\n <dropi-icon name=\"Close-small\" width=\"12px\" height=\"12px\" color=\"Gray-Gray-500\" />\n </button>\n )}\n {this.title && !this.text && <strong class=\"tooltip-title\">{this.title}</strong>}\n {this.label && !this.text && <span class=\"tooltip-label\">{this.label}</span>}\n {this.text && <span>{this.text}</span>}\n <span class={`tooltip-arrow tooltip-arrow--${this.position}`} />\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"dropi-tooltip.entry.js","mappings":";;AAAA,MAAM,eAAe,GAAG,MAAM,CAAC,sgBAAsgB,CAAC;;MCWzhB,YAAY,GAAA,MAAA;;;;;IAEf,IAAI,GAAW,EAAE;;IAEjB,QAAQ,GAAY,KAAK;IAEjC,MAAM,GAAA;AACJ,QAAA,QACE,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAA,EAC/E,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,EACP,IAAI,CAAC,IAAI,KACR,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,uBAAuB,EAAA,EAC/B,IAAI,CAAC,IAAI,CACN,CACP,CACG;;;;;;;","names":[],"sources":["src/components/dropi-tooltip/dropi-tooltip.css?tag=dropi-tooltip&encapsulation=shadow","src/components/dropi-tooltip/dropi-tooltip.tsx"],"sourcesContent":[":host {\n display: inline-block;\n position: relative;\n}\n\n.tooltip-simple-bubble {\n position: absolute;\n background: var(--Gray-Gray-800, #1e293b);\n color: white;\n padding: 4px 8px;\n border-radius: 4px;\n font-size: 12px;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n margin-bottom: 8px;\n white-space: nowrap;\n pointer-events: none;\n opacity: 0;\n transition: opacity 0.2s;\n z-index: 1000;\n}\n\n:host(:hover) .tooltip-simple-bubble {\n opacity: 1;\n}\n\n.tooltip-simple--outlined .tooltip-simple-bubble {\n border: 1px solid var(--Gray-Gray-300);\n background: white;\n color: var(--Gray-Gray-800);\n}\n","import { Component, Prop, h } from '@stencil/core';\n\n/**\n * @component dropi-tooltip\n * Simple tooltip (Legacy version).\n */\n@Component({\n tag: 'dropi-tooltip',\n styleUrl: 'dropi-tooltip.css',\n shadow: true,\n})\nexport class DropiTooltip {\n /** Tooltip text */\n @Prop() text: string = '';\n /** Whether the tooltip has an outline style (matches Angular `outlined`) */\n @Prop() outlined: boolean = false;\n\n render() {\n return (\n <div class={{ 'tooltip-simple': true, 'tooltip-simple--outlined': this.outlined }}>\n <slot />\n {this.text && (\n <div class=\"tooltip-simple-bubble\">\n {this.text}\n </div>\n )}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropi-ui.esm.js","sources":["node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.43.3 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"names":[],"mappings":";;;AAAA;AACA;AACA;;AAKA,IAAI,YAAY,GAAG,MAAM;AACzB,EAAE,IAAI,KAAK,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,SAAS,EAAE;AACvC,IAAI,cAAc,CAAC,8BAA8B,CAAC;AAClD;AACA,EAAE,IAAI,KAAK,CAAC,YAAY,EAAE;AAC1B,IAAI,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;AAClC;AACA,EAAE,MAAM,SAAS,GAAG,KAAK,CAAC,cAAc,GAAG,GAAG,CAAC,QAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI;AACnH,IAAI,CAAC,CAAC,KAAK,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC,wBAAwB,CAAC,KAAK;AAC1H,GAAG,GAAG,IAAI;AACV,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG;AACpC,EAAE,MAAM,IAAI,GAAG,KAAK,CAAC,cAAc,GAAG,CAAC,SAAS,IAAI,EAAE,EAAE,WAAW,CAAC,IAAI,EAAE,GAAG,EAAE;AAC/E,EAAE,IAAI,UAAU,KAAK,EAAE,EAAE;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KAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,mBAAmB,EAAE,WAAW,EAAE,EAC3D,GAAG,EAAE,CAAC,EACN,OAAO,EAAE,MAAM,WAAW,IAAI,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,EAAA,EAExD,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,mBAAmB,EAAA,EAC5B,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC,mBAAmB,KAAK,CAAA,CAAE,GAAG,IAAI,EAAE,EAAA,EACvE,KAAK,KAAK,WAAW,IAAI,IAAI,CAAC,aAAa,IAC1C,CAAA,CAAA,YAAA,EAAA,EAAY,IAAI,EAAC,OAAO,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,eAAe,EAAA,CAAG,KAE5E,CAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAC,gBAAgB,EAAA,EAAE,CAAC,GAAG,CAAC,CAAQ,CAC5C,CACG,EACL,CAAC,MAAM,IAAI,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,KAAK,WAAW,EAAE,GAAI,CAC7F,EACN,CAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAE,EAAE,eAAe,EAAE,IAAI,EAAE,CAAC,CAAA,eAAA,EAAkB,KAAK,EAAE,GAAG,IAAI,EAAE,EAAA,EACtE,IAAI,CAAC,KAAK,CACN,CACH;SAET,CAAC,CACE;;;;;;;","names":[],"sources":["src/components/dropi-vertical-steps/dropi-vertical-steps.css?tag=dropi-vertical-steps&encapsulation=shadow","src/components/dropi-vertical-steps/dropi-vertical-steps.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n*, *::before, *::after { box-sizing: border-box; }\n\n.vertical-steps {\n display: flex;\n flex-direction: column;\n}\n\n.v-step {\n display: flex;\n align-items: flex-start;\n gap: var(--Size-3, 12px);\n}\n\n.v-step--clickable {\n cursor: pointer;\n}\n\n/* ── Left indicator column ──────────────────────────────── */\n.v-step__indicator {\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-shrink: 0;\n}\n\n.v-step__circle {\n width: 28px;\n height: 28px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n transition: background 0.2s, border-color 0.2s;\n}\n\n.v-step__circle--pending {\n background: var(--Neutral-White, #ffffff);\n border: 2px solid var(--Gray-Gray-200, #c3c9d9);\n}\n\n.v-step__circle--current {\n background: var(--Neutral-White, #ffffff);\n border: 2px solid var(--Primary-Primary-500, #f49a3d);\n}\n\n.v-step__circle--completed {\n background: var(--Primary-Primary-500, #f49a3d);\n border: 2px solid var(--Primary-Primary-500, #f49a3d);\n}\n\n.v-step__number {\n font-size: var(--font-size-xs, 10px);\n font-weight: var(--font-weight-bold, 700);\n color: var(--Gray-Gray-500, #69738c);\n}\n\n.v-step__circle--current .v-step__number {\n color: var(--Primary-Primary-500, #f49a3d);\n}\n\n/* ── Vertical connecting line ───────────────────────────── */\n.v-step__line {\n flex: 1;\n width: 2px;\n min-height: 24px;\n background: var(--Gray-Gray-200, #c3c9d9);\n margin: 4px 0;\n transition: background 0.2s;\n}\n\n.v-step__line--done {\n background: var(--Primary-Primary-500, #f49a3d);\n}\n\n/* ── Label ──────────────────────────────────────────────── */\n.v-step__label {\n padding-top: 4px;\n font-size: var(--font-size-s, 12px);\n color: var(--Gray-Gray-600, #475066);\n line-height: 1.4;\n}\n\n.v-step__label--current {\n color: var(--Gray-Gray-800, #1f2433);\n font-weight: var(--font-weight-bold, 700);\n}\n\n.v-step__label--completed {\n color: var(--Gray-Gray-500, #69738c);\n}\n","import { Component, Prop, Event, EventEmitter, h } from '@stencil/core';\n\nexport interface VerticalStep {\n label?: string;\n state?: 'pending' | 'current' | 'completed';\n}\n\n/**\n * @component dropi-vertical-steps\n * Vertical step-by-step progress indicator with optional click navigation.\n */\n@Component({\n tag: 'dropi-vertical-steps',\n styleUrl: 'dropi-vertical-steps.css',\n shadow: true,\n})\nexport class DropiVerticalSteps {\n /** Array of steps. Pass as JSON string or array */\n @Prop() steps: VerticalStep[] | string = [];\n /** Currently active step (1-based) */\n @Prop() currentStep: number = 1;\n /** Allow clicking completed steps to navigate back */\n @Prop() clickable: boolean = false;\n /** Show check icon inside completed step circles */\n @Prop() showCheckIcon: boolean = true;\n\n /** Emitted when a step is clicked. e.detail = step number (1-based) */\n @Event() stepClick: EventEmitter<number>;\n\n private get parsedSteps(): VerticalStep[] {\n if (typeof this.steps === 'string') {\n try { return JSON.parse(this.steps); } catch { return []; }\n }\n return this.steps || [];\n }\n\n private resolveState(index: number, step: VerticalStep): 'pending' | 'current' | 'completed' {\n if (step.state) return step.state;\n const n = index + 1;\n if (n < this.currentStep) return 'completed';\n if (n === this.currentStep) return 'current';\n return 'pending';\n }\n\n render() {\n const steps = this.parsedSteps;\n\n return (\n <div class=\"vertical-steps\">\n {steps.map((step, i) => {\n const state = this.resolveState(i, step);\n const isLast = i === steps.length - 1;\n const isClickable = this.clickable && state === 'completed';\n\n return (\n <div\n class={{ 'v-step': true, 'v-step--clickable': isClickable }}\n key={i}\n onClick={() => isClickable && this.stepClick.emit(i + 1)}\n >\n <div class=\"v-step__indicator\">\n <div class={{ 'v-step__circle': true, [`v-step__circle--${state}`]: true }}>\n {state === 'completed' && this.showCheckIcon ? (\n <dropi-icon name=\"Check\" width=\"12px\" height=\"12px\" color=\"Neutral-White\" />\n ) : (\n <span class=\"v-step__number\">{i + 1}</span>\n )}\n </div>\n {!isLast && <div class={{ 'v-step__line': true, 'v-step__line--done': state === 'completed' }} />}\n </div>\n <span class={{ 'v-step__label': true, [`v-step__label--${state}`]: true }}>\n {step.label}\n </span>\n </div>\n );\n })}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{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,MAAM,EAAC,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAC,KAAK,EAAC,eAAe,EAAA,CAAG,CACpE,CACL,CACP,EACA,IAAI,CAAC,SAAS,KACb,+DACE,GAAG,EAAE,IAAI,CAAC,QAAQ,EAClB,KAAK,EAAE,IAAI,CAAC,UAAU,EACtB,WAAW,EAAC,GAAG,EACf,KAAK,EAAC,0FAA0F,EAChG,eAAe,EAAA,IAAA,EACf,OAAO,EAAC,MAAM,EAAA,CACd,CACH,CACG;;;;;;;","names":[],"sources":["src/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.css?tag=dropi-youtube-lazy-video&encapsulation=shadow","src/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.tsx"],"sourcesContent":[":host {\n display: block;\n width: 100%;\n}\n\n.video-wrapper {\n position: relative;\n width: 100%;\n padding-bottom: 56.25%;\n background: var(--Neutral-Black);\n overflow: hidden;\n border-radius: 12px;\n}\n\n.video-wrapper iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border: none;\n}\n\n.thumbnail {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n\n.thumbnail img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n transition: transform 0.3s ease;\n}\n\n.thumbnail:hover img {\n transform: scale(1.05);\n}\n\n.play-button {\n position: absolute;\n color: white;\n border: none;\n border-radius: 50%;\n width: 70px;\n height: 70px;\n cursor: pointer;\n transition: background 0.3s ease;\n background: rgba(14, 17, 26, 0.6);\n backdrop-filter: blur(2px);\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.play-button:hover {\n background: rgba(0, 0, 0, 0.8);\n}\n\n@media screen and (max-width: 768px) {\n .play-button {\n width: 40px;\n height: 40px;\n }\n}\n","import { Component, Prop, State, h } from '@stencil/core';\n\n/**\n * @component dropi-youtube-lazy-video\n * Lazy-loads a YouTube video. Shows thumbnail until user clicks play.\n *\n * @example\n * <dropi-youtube-lazy-video video-id=\"dQw4w9WgXcQ\" video-title=\"Never Gonna Give You Up\"></dropi-youtube-lazy-video>\n */\n@Component({\n tag: 'dropi-youtube-lazy-video',\n styleUrl: 'dropi-youtube-lazy-video.css',\n shadow: true,\n})\nexport class DropiYoutubeLazyVideo {\n /** YouTube video ID */\n @Prop() videoId: string = '';\n /** Local asset thumbnail path (without /assets/images/ prefix and .png extension) */\n @Prop() thumbnailSrc: string = '';\n /** Video title for iframe accessibility */\n @Prop() videoTitle: string = '';\n\n @State() private isPlaying: boolean = false;\n\n private get thumbnail(): string {\n if (this.thumbnailSrc) {\n return `/assets/images/${this.thumbnailSrc}.png`;\n }\n return `https://img.youtube.com/vi/${this.videoId}/hqdefault.jpg`;\n }\n\n private get videoUrl(): string {\n return `https://www.youtube.com/embed/${this.videoId}?autoplay=1&rel=0&modestbranding=1`;\n }\n\n render() {\n return (\n <div class={`video-wrapper${this.isPlaying ? ' playing' : ''}`}>\n {!this.isPlaying && (\n <div class=\"thumbnail\" onClick={() => { this.isPlaying = true; }}>\n <img src={this.thumbnail} alt={`Video thumbnail ${this.videoId}`} />\n <button class=\"play-button\" aria-label=\"Reproducir video\">\n <dropi-icon name=\"Play\" width=\"17px\" height=\"21px\" color=\"Neutral-White\" />\n </button>\n </div>\n )}\n {this.isPlaying && (\n <iframe\n src={this.videoUrl}\n title={this.videoTitle}\n frameborder=\"0\"\n allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\"\n allowFullScreen\n loading=\"lazy\"\n />\n )}\n </div>\n );\n }\n}\n"],"version":3}
|