@dropi/ui 0.1.36 → 0.1.41
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/assets/icons/symbol/svg/sprite.css.svg +1 -1
- package/dist/cjs/dropi-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/dropi-alert.cjs.entry.js +1 -1
- package/dist/cjs/dropi-banner-external.cjs.entry.js +1 -1
- package/dist/cjs/dropi-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/dropi-button.cjs.entry.js +1 -1
- package/dist/cjs/dropi-card-product.cjs.entry.js +2 -2
- package/dist/cjs/dropi-card-section.cjs.entry.js +1 -1
- package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +2 -2
- package/dist/cjs/dropi-chips.cjs.entry.js +1 -1
- package/dist/cjs/dropi-city-selector.cjs.entry.js +2 -2
- package/dist/cjs/dropi-country-selector.cjs.entry.js +1 -1
- package/dist/cjs/dropi-date-picker.cjs.entry.js +3 -3
- package/dist/cjs/dropi-drawer.cjs.entry.js +1 -1
- package/dist/cjs/dropi-favorite-button.cjs.entry.js +1 -1
- package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/dropi-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/dropi-icon.cjs.entry.js +18 -20
- package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +1 -1
- package/dist/cjs/dropi-image-miniature.cjs.entry.js +1 -1
- package/dist/cjs/dropi-image-overlay.cjs.entry.js +1 -1
- package/dist/cjs/dropi-input_3.cjs.entry.js +11 -9
- package/dist/cjs/dropi-languages-selector.cjs.entry.js +1 -1
- package/dist/cjs/dropi-media-player.cjs.entry.js +2 -2
- package/dist/cjs/dropi-modal.cjs.entry.js +2 -2
- package/dist/cjs/dropi-navbar.cjs.entry.js +2 -2
- package/dist/cjs/dropi-otp-send-code.cjs.entry.js +14 -6
- package/dist/cjs/dropi-phone-input.cjs.entry.js +1 -1
- package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +2 -2
- package/dist/cjs/dropi-search.cjs.entry.js +2 -2
- package/dist/cjs/dropi-select.cjs.entry.js +7 -7
- package/dist/cjs/dropi-sidebar.cjs.entry.js +2 -2
- package/dist/cjs/dropi-steps.cjs.entry.js +1 -1
- package/dist/cjs/dropi-table.cjs.entry.js +5 -5
- package/dist/cjs/dropi-tabs.cjs.entry.js +1 -1
- package/dist/cjs/dropi-text-area.cjs.entry.js +1 -1
- package/dist/cjs/dropi-time-line.cjs.entry.js +1 -1
- package/dist/cjs/dropi-toast.cjs.entry.js +1 -1
- package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +2 -2
- package/dist/cjs/dropi-ui.cjs.js +1 -1
- package/dist/cjs/dropi-vertical-steps.cjs.entry.js +1 -1
- package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +1 -1
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +1 -1
- package/dist/collection/components/dropi-alert/dropi-alert.js +1 -1
- package/dist/collection/components/dropi-banner-external/dropi-banner-external.js +1 -1
- package/dist/collection/components/dropi-breadcrumb/dropi-breadcrumb.js +2 -2
- package/dist/collection/components/dropi-button/dropi-button.js +1 -1
- package/dist/collection/components/dropi-card-product/dropi-card-product.js +2 -2
- package/dist/collection/components/dropi-card-section/dropi-card-section.js +1 -1
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +2 -2
- package/dist/collection/components/dropi-chips/dropi-chips.js +1 -1
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.js +2 -2
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +1 -1
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +3 -3
- package/dist/collection/components/dropi-drawer/dropi-drawer.js +1 -1
- package/dist/collection/components/dropi-favorite-button/dropi-favorite-button.js +1 -1
- package/dist/collection/components/dropi-file-upload/dropi-file-upload.js +2 -2
- package/dist/collection/components/dropi-file-upload-progress-bar/dropi-file-upload-progress-bar.js +1 -1
- package/dist/collection/components/dropi-icon/dropi-icon.css +0 -2
- package/dist/collection/components/dropi-icon/dropi-icon.js +25 -27
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +1 -1
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
- package/dist/collection/components/dropi-image-overlay/dropi-image-overlay.js +1 -1
- package/dist/collection/components/dropi-input/dropi-input.css +13 -5
- package/dist/collection/components/dropi-input/dropi-input.js +9 -7
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +1 -1
- package/dist/collection/components/dropi-media-player/dropi-media-player.js +2 -2
- package/dist/collection/components/dropi-modal/dropi-modal.js +4 -4
- package/dist/collection/components/dropi-navbar/dropi-navbar.js +2 -2
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +29 -7
- package/dist/collection/components/dropi-paginator/dropi-paginator.js +2 -2
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +1 -1
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +2 -2
- package/dist/collection/components/dropi-search/dropi-search.js +2 -2
- package/dist/collection/components/dropi-select/dropi-select.js +7 -7
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +2 -2
- package/dist/collection/components/dropi-steps/dropi-steps.js +1 -1
- package/dist/collection/components/dropi-table/dropi-table.js +7 -7
- package/dist/collection/components/dropi-tabs/dropi-tabs.js +1 -1
- package/dist/collection/components/dropi-tag/dropi-tag.js +1 -1
- package/dist/collection/components/dropi-text-area/dropi-text-area.js +1 -1
- package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
- package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.js +2 -2
- package/dist/collection/components/dropi-vertical-steps/dropi-vertical-steps.js +1 -1
- package/dist/collection/components/dropi-youtube-lazy-video/dropi-youtube-lazy-video.js +1 -1
- package/dist/components/dropi-accordion-item.js +1 -1
- package/dist/components/dropi-alert-modal.js +1 -1
- package/dist/components/dropi-alert.js +1 -1
- package/dist/components/dropi-banner-external.js +1 -1
- package/dist/components/dropi-breadcrumb.js +1 -1
- package/dist/components/dropi-button.js +1 -1
- package/dist/components/dropi-card-product.js +1 -1
- package/dist/components/dropi-card-section.js +1 -1
- package/dist/components/dropi-checkbox-selection-list.js +1 -1
- package/dist/components/dropi-chips.js +1 -1
- package/dist/components/dropi-city-selector.js +1 -1
- package/dist/components/dropi-country-selector.js +1 -1
- package/dist/components/dropi-date-picker.js +1 -1
- package/dist/components/dropi-drawer.js +1 -1
- package/dist/components/dropi-empty-state.js +1 -1
- package/dist/components/dropi-favorite-button.js +1 -1
- package/dist/components/dropi-file-upload-progress-bar.js +1 -1
- package/dist/components/dropi-file-upload.js +1 -1
- package/dist/components/dropi-icon.js +1 -1
- package/dist/components/dropi-ilustration-icon.js +1 -1
- package/dist/components/dropi-image-miniature.js +1 -1
- package/dist/components/dropi-image-overlay.js +1 -1
- package/dist/components/dropi-input.js +1 -1
- package/dist/components/dropi-languages-selector.js +1 -1
- package/dist/components/dropi-media-player.js +1 -1
- package/dist/components/dropi-modal.js +1 -1
- package/dist/components/dropi-navbar.js +1 -1
- package/dist/components/dropi-otp-send-code.js +1 -1
- package/dist/components/dropi-paginator.js +1 -1
- package/dist/components/dropi-phone-input.js +1 -1
- package/dist/components/dropi-radio-selection-list.js +1 -1
- package/dist/components/dropi-search.js +1 -1
- package/dist/components/dropi-select.js +1 -1
- package/dist/components/dropi-sidebar.js +1 -1
- package/dist/components/dropi-steps.js +1 -1
- package/dist/components/dropi-table.js +1 -1
- package/dist/components/dropi-tabs.js +1 -1
- package/dist/components/dropi-tag.js +1 -1
- package/dist/components/dropi-text-area.js +1 -1
- package/dist/components/dropi-time-line.js +1 -1
- package/dist/components/dropi-toast.js +1 -1
- package/dist/components/dropi-tooltip-v2.js +1 -1
- package/dist/components/dropi-vertical-steps.js +1 -1
- package/dist/components/dropi-youtube-lazy-video.js +1 -1
- package/dist/components/p-2YgFOle2.js +1 -0
- package/dist/components/p-BDYn1JDe.js +1 -0
- package/dist/components/p-BKTMBQVw.js +1 -0
- package/dist/components/p-Btsw7sPN.js +1 -0
- package/dist/components/p-CgRY3n1J.js +1 -0
- package/dist/components/p-Cjq4FTif.js +1 -0
- package/dist/components/p-DfdhNT9F.js +1 -0
- package/dist/components/p-DvLWbKsf.js +1 -0
- package/dist/components/p-Dz9uN5Nw.js +1 -0
- package/dist/components/p-FAhcOdS-.js +1 -0
- package/dist/dropi-ui/dropi-accordion-item.entry.js +58 -0
- package/dist/dropi-ui/dropi-accordion-item.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-accordion.entry.js +20 -0
- package/dist/dropi-ui/dropi-accordion.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-alert-legacy.entry.js +40 -0
- package/dist/dropi-ui/dropi-alert-legacy.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-alert-modal.entry.js +129 -0
- package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-alert.entry.js +65 -0
- package/dist/dropi-ui/dropi-alert.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-avatars.entry.js +32 -0
- package/dist/dropi-ui/dropi-avatars.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-badge-legacy.entry.js +31 -0
- package/dist/dropi-ui/dropi-badge-legacy.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-badge.entry.js +38 -0
- package/dist/dropi-ui/dropi-badge.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-banner-external.entry.js +64 -0
- package/dist/dropi-ui/dropi-banner-external.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-breadcrumb.entry.js +49 -0
- package/dist/dropi-ui/dropi-breadcrumb.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-button.entry.js +88 -0
- package/dist/dropi-ui/dropi-button.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-card-checkbox.entry.js +49 -0
- package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-card-product.entry.js +79 -0
- package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-card-section.entry.js +39 -0
- package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-carousel.entry.js +154 -0
- package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +74 -0
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-checkbox.entry.js +37 -0
- package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-chips.entry.js +31 -0
- package/dist/dropi-ui/dropi-chips.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-city-selector.entry.js +105 -0
- package/dist/dropi-ui/dropi-city-selector.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-color-picker.entry.js +320 -0
- package/dist/dropi-ui/dropi-color-picker.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-country-flags.entry.js +38 -0
- package/dist/dropi-ui/dropi-country-flags.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-country-selector.entry.js +198 -0
- package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-date-picker-range.entry.js +116 -0
- package/dist/dropi-ui/dropi-date-picker-range.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-date-picker.entry.js +224 -0
- package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-drawer.entry.js +80 -0
- package/dist/dropi-ui/dropi-drawer.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-dropdown.entry.js +66 -0
- package/dist/dropi-ui/dropi-dropdown.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-empty-state.entry.js +37 -0
- package/dist/dropi-ui/dropi-empty-state.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-favorite-button.entry.js +28 -0
- package/dist/dropi-ui/dropi-favorite-button.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +78 -0
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-file-upload.entry.js +238 -0
- package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-icon.entry.js +66 -0
- package/dist/dropi-ui/dropi-icon.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js +40 -0
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-image-miniature.entry.js +45 -0
- package/dist/dropi-ui/dropi-image-miniature.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-image-overlay.entry.js +64 -0
- package/dist/dropi-ui/dropi-image-overlay.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-input.entry.js +266 -0
- package/dist/dropi-ui/dropi-input.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-languages-selector.entry.js +62 -0
- package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-logo.entry.js +38 -0
- package/dist/dropi-ui/dropi-logo.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-lottie-loader.entry.js +28 -0
- package/dist/dropi-ui/dropi-lottie-loader.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-media-player.entry.js +193 -0
- package/dist/dropi-ui/dropi-media-player.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-modal.entry.js +143 -0
- package/dist/dropi-ui/dropi-modal.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-navbar.entry.js +55 -0
- package/dist/dropi-ui/dropi-navbar.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-otp-send-code.entry.js +101 -0
- package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-paginator.entry.js +70 -0
- package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-phone-input.entry.js +198 -0
- package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-radio-button.entry.js +48 -0
- package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js +61 -0
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-read-more.entry.js +41 -0
- package/dist/dropi-ui/dropi-read-more.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-search.entry.js +125 -0
- package/dist/dropi-ui/dropi-search.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-select.entry.js +383 -0
- package/dist/dropi-ui/dropi-select.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-sidebar.entry.js +79 -0
- package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-simple-stepper.entry.js +54 -0
- package/dist/dropi-ui/dropi-simple-stepper.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-skeleton.entry.js +58 -0
- package/dist/dropi-ui/dropi-skeleton.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-steps.entry.js +53 -0
- package/dist/dropi-ui/dropi-steps.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-switch.entry.js +31 -0
- package/dist/dropi-ui/dropi-switch.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-table.entry.js +300 -0
- package/dist/dropi-ui/dropi-table.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-tabs.entry.js +52 -0
- package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-tag-type-product.entry.js +20 -0
- package/dist/dropi-ui/dropi-tag-type-product.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-tag.entry.js +69 -0
- package/dist/dropi-ui/dropi-tag.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-text-area.entry.js +135 -0
- package/dist/dropi-ui/dropi-text-area.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-time-line.entry.js +35 -0
- package/dist/dropi-ui/dropi-time-line.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-toast.entry.js +57 -0
- package/dist/dropi-ui/dropi-toast.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js +132 -0
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-tooltip.entry.js +22 -0
- package/dist/dropi-ui/dropi-tooltip.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-ui.css +311 -1
- package/dist/dropi-ui/dropi-ui.esm.js +50 -1
- package/dist/dropi-ui/dropi-ui.esm.js.map +1 -0
- package/dist/dropi-ui/dropi-vertical-steps.entry.js +56 -0
- package/dist/dropi-ui/dropi-vertical-steps.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +34 -0
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js.map +1 -0
- package/dist/dropi-ui/index-Cvp2LQOM.js +4585 -0
- package/dist/dropi-ui/index-Cvp2LQOM.js.map +1 -0
- package/dist/dropi-ui/index.esm.js +4 -0
- package/dist/dropi-ui/index.esm.js.map +1 -0
- package/dist/dropi-ui/{p-db38bf16.entry.js → p-01e4fe42.entry.js} +1 -1
- package/dist/dropi-ui/p-099f4475.entry.js +1 -0
- package/dist/dropi-ui/p-17b16a74.entry.js +1 -0
- package/dist/dropi-ui/p-1a07b3a6.entry.js +1 -0
- package/dist/dropi-ui/p-1cd4d630.entry.js +1 -0
- package/dist/dropi-ui/p-1d75dff6.entry.js +1 -0
- package/dist/dropi-ui/p-20a6a2aa.entry.js +1 -0
- package/dist/dropi-ui/p-256bf069.entry.js +1 -0
- package/dist/dropi-ui/p-25f0c2c9.entry.js +1 -0
- package/dist/dropi-ui/p-2d9978c1.entry.js +1 -0
- package/dist/dropi-ui/p-35b37d1a.entry.js +1 -0
- package/dist/dropi-ui/p-38ea66e4.entry.js +1 -0
- package/dist/dropi-ui/p-4e401fbc.entry.js +1 -0
- package/dist/dropi-ui/p-53d2905c.entry.js +1 -0
- package/dist/dropi-ui/p-54bfb072.entry.js +1 -0
- package/dist/dropi-ui/p-5915d227.entry.js +1 -0
- package/dist/dropi-ui/p-650a7679.entry.js +1 -0
- package/dist/dropi-ui/p-719a01cb.entry.js +1 -0
- package/dist/dropi-ui/p-7369b3b4.entry.js +1 -0
- package/dist/dropi-ui/{p-e3ad21f8.entry.js → p-77cd2fcb.entry.js} +1 -1
- package/dist/dropi-ui/p-7a18b7a0.entry.js +1 -0
- package/dist/dropi-ui/p-83887880.entry.js +1 -0
- package/dist/dropi-ui/p-83dbc407.entry.js +1 -0
- package/dist/dropi-ui/p-85c637bd.entry.js +1 -0
- package/dist/dropi-ui/{p-e6e766ed.entry.js → p-87cc4dcd.entry.js} +1 -1
- package/dist/dropi-ui/p-899089f0.entry.js +1 -0
- package/dist/dropi-ui/p-8c107dbe.entry.js +1 -0
- package/dist/dropi-ui/p-929bc2b6.entry.js +1 -0
- package/dist/dropi-ui/p-9ac8caea.entry.js +1 -0
- package/dist/dropi-ui/p-9b24e8fd.entry.js +1 -0
- package/dist/dropi-ui/p-9c73b4ce.entry.js +1 -0
- package/dist/dropi-ui/p-a580e8c8.entry.js +1 -0
- package/dist/dropi-ui/p-a9f93e82.entry.js +1 -0
- package/dist/dropi-ui/p-aa0f5964.entry.js +1 -0
- package/dist/dropi-ui/p-aadd5863.entry.js +1 -0
- package/dist/dropi-ui/p-b25faf92.entry.js +1 -0
- package/dist/dropi-ui/p-b605d3d9.entry.js +1 -0
- package/dist/dropi-ui/p-bbb5e0ae.entry.js +1 -0
- package/dist/dropi-ui/p-c4d2881d.entry.js +1 -0
- package/dist/dropi-ui/p-d1aeb373.entry.js +1 -0
- package/dist/dropi-ui/p-d724ced4.entry.js +1 -0
- package/dist/dropi-ui/p-dc53a798.entry.js +1 -0
- package/dist/dropi-ui/p-e1b3c9a3.entry.js +1 -0
- package/dist/dropi-ui/p-e3c120ba.entry.js +1 -0
- package/dist/dropi-ui/p-edf796ee.entry.js +1 -0
- package/dist/dropi-ui/p-f2527a45.entry.js +1 -0
- package/dist/dropi-ui/p-f6c9057d.entry.js +1 -0
- package/dist/dropi-ui/p-f7fd7832.entry.js +1 -0
- package/dist/dropi-ui/p-f9888cea.entry.js +1 -0
- package/dist/dropi-ui/p-ffd415a2.entry.js +1 -0
- package/dist/esm/dropi-accordion-item.entry.js +1 -1
- package/dist/esm/dropi-alert.entry.js +1 -1
- package/dist/esm/dropi-banner-external.entry.js +1 -1
- package/dist/esm/dropi-breadcrumb.entry.js +2 -2
- package/dist/esm/dropi-button.entry.js +1 -1
- package/dist/esm/dropi-card-product.entry.js +2 -2
- package/dist/esm/dropi-card-section.entry.js +1 -1
- package/dist/esm/dropi-checkbox-selection-list.entry.js +2 -2
- package/dist/esm/dropi-chips.entry.js +1 -1
- package/dist/esm/dropi-city-selector.entry.js +2 -2
- package/dist/esm/dropi-country-selector.entry.js +1 -1
- package/dist/esm/dropi-date-picker.entry.js +3 -3
- package/dist/esm/dropi-drawer.entry.js +1 -1
- package/dist/esm/dropi-favorite-button.entry.js +1 -1
- package/dist/esm/dropi-file-upload-progress-bar.entry.js +1 -1
- package/dist/esm/dropi-file-upload.entry.js +2 -2
- package/dist/esm/dropi-icon.entry.js +18 -20
- package/dist/esm/dropi-ilustration-icon.entry.js +1 -1
- package/dist/esm/dropi-image-miniature.entry.js +1 -1
- package/dist/esm/dropi-image-overlay.entry.js +1 -1
- package/dist/esm/dropi-input_3.entry.js +11 -9
- package/dist/esm/dropi-languages-selector.entry.js +1 -1
- package/dist/esm/dropi-media-player.entry.js +2 -2
- package/dist/esm/dropi-modal.entry.js +2 -2
- package/dist/esm/dropi-navbar.entry.js +2 -2
- package/dist/esm/dropi-otp-send-code.entry.js +14 -6
- package/dist/esm/dropi-phone-input.entry.js +1 -1
- package/dist/esm/dropi-radio-selection-list.entry.js +2 -2
- package/dist/esm/dropi-search.entry.js +2 -2
- package/dist/esm/dropi-select.entry.js +7 -7
- package/dist/esm/dropi-sidebar.entry.js +2 -2
- package/dist/esm/dropi-steps.entry.js +1 -1
- package/dist/esm/dropi-table.entry.js +5 -5
- package/dist/esm/dropi-tabs.entry.js +1 -1
- package/dist/esm/dropi-text-area.entry.js +1 -1
- package/dist/esm/dropi-time-line.entry.js +1 -1
- package/dist/esm/dropi-toast.entry.js +1 -1
- package/dist/esm/dropi-tooltip-v2.entry.js +2 -2
- package/dist/esm/dropi-ui.js +1 -1
- package/dist/esm/dropi-vertical-steps.entry.js +1 -1
- package/dist/esm/dropi-youtube-lazy-video.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/types/components/dropi-icon/dropi-icon.d.ts +4 -9
- package/dist/types/components/dropi-input/dropi-input.d.ts +1 -1
- package/dist/types/components/dropi-modal/dropi-modal.d.ts +1 -1
- package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +3 -1
- package/dist/types/components/dropi-table/dropi-table.d.ts +1 -1
- package/dist/types/components.d.ts +39 -38
- package/hydrate/index.js +109 -101
- package/hydrate/index.mjs +109 -101
- package/package.json +1 -1
- package/scripts/setup.js +27 -5
- package/dist/components/p-B_Ace02i.js +0 -1
- package/dist/components/p-BrjO_JXp.js +0 -1
- package/dist/components/p-BwhxWL4p.js +0 -1
- package/dist/components/p-Bz2jXX3R.js +0 -1
- package/dist/components/p-D-vQQQNz.js +0 -1
- package/dist/components/p-D13d88W3.js +0 -1
- package/dist/components/p-I3w7xF7Q.js +0 -1
- package/dist/components/p-o5gyrbbD.js +0 -1
- package/dist/dropi-ui/p-00e5a2de.entry.js +0 -1
- package/dist/dropi-ui/p-0188e07a.entry.js +0 -1
- package/dist/dropi-ui/p-02710049.entry.js +0 -1
- package/dist/dropi-ui/p-18adf694.entry.js +0 -1
- package/dist/dropi-ui/p-1a3619c3.entry.js +0 -1
- package/dist/dropi-ui/p-25640777.entry.js +0 -1
- package/dist/dropi-ui/p-2674d901.entry.js +0 -1
- package/dist/dropi-ui/p-2af538b9.entry.js +0 -1
- package/dist/dropi-ui/p-3013f3b8.entry.js +0 -1
- package/dist/dropi-ui/p-3321ca70.entry.js +0 -1
- package/dist/dropi-ui/p-33d242ec.entry.js +0 -1
- package/dist/dropi-ui/p-39af6478.entry.js +0 -1
- package/dist/dropi-ui/p-446a481d.entry.js +0 -1
- package/dist/dropi-ui/p-50e0d44f.entry.js +0 -1
- package/dist/dropi-ui/p-5c0bd7c2.entry.js +0 -1
- package/dist/dropi-ui/p-5ddf6e93.entry.js +0 -1
- package/dist/dropi-ui/p-5fb33ae4.entry.js +0 -1
- package/dist/dropi-ui/p-665ef7ba.entry.js +0 -1
- package/dist/dropi-ui/p-66b80371.entry.js +0 -1
- package/dist/dropi-ui/p-7bfc1c27.entry.js +0 -1
- package/dist/dropi-ui/p-7c0d2edf.entry.js +0 -1
- package/dist/dropi-ui/p-7eb27836.entry.js +0 -1
- package/dist/dropi-ui/p-8bf5d8ee.entry.js +0 -1
- package/dist/dropi-ui/p-9212f544.entry.js +0 -1
- package/dist/dropi-ui/p-955e52f8.entry.js +0 -1
- package/dist/dropi-ui/p-976a15e3.entry.js +0 -1
- package/dist/dropi-ui/p-a1c93e55.entry.js +0 -1
- package/dist/dropi-ui/p-a232c6a7.entry.js +0 -1
- package/dist/dropi-ui/p-a822a23e.entry.js +0 -1
- package/dist/dropi-ui/p-af8e2157.entry.js +0 -1
- package/dist/dropi-ui/p-c3614c4a.entry.js +0 -1
- package/dist/dropi-ui/p-cc527d91.entry.js +0 -1
- package/dist/dropi-ui/p-cdde481b.entry.js +0 -1
- package/dist/dropi-ui/p-dd5d8b1b.entry.js +0 -1
- package/dist/dropi-ui/p-efc2fc35.entry.js +0 -1
- package/dist/dropi-ui/p-f41cd9b5.entry.js +0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AAK,EAAC,eAAe,EAAA,EACxB,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,YAAY,EAAA,EACrB,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,yBAAyB,EAAC,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAQ,CACzF,EACN,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,gBAAgB,EAAA,EACzB,CAAA,CAAA,GAAA,EAAA,EAAG,KAAK,EAAC,OAAO,EAAA,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAK,EACtC,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,SAAG,KAAK,EAAC,aAAa,EAAA,EAAE,IAAI,CAAC,GAAG,CAAC,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,SAAS,EAAC,MAAM,EAAC,UAAU,EAAC,MAAM,EAAC,KAAK,EAAC,eAAe,EAAA,CAAG,CACnF,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\" iconWidth=\"20px\" iconHeight=\"20px\" color=\"Gray-Gray-400\" />\n </button>\n )}\n </div>\n </div>\n ))}\n </div>\n );\n }\n}\n"],"version":3}
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-Cvp2LQOM.js';
|
|
2
|
+
|
|
3
|
+
const dropiTooltipCss = () => `:host{display:inline-block}*,*::before,*::after{box-sizing:border-box}.tooltip-wrapper{position:relative;display:inline-flex;align-items:center;justify-content:center}.tooltip-bubble{position:absolute;z-index:9999;background:var(--Gray-Gray-800);color:var(--Neutral-White, #ffffff);font-size:var(--font-size-s,14px);line-height:1.5;padding:8px 12px;border-radius:8px;white-space:normal;pointer-events:none;opacity:0;transition:opacity 0.15s ease, transform 0.15s ease;word-break:break-word;box-shadow:var(--Shadow-medium);text-align:left;width:max-content}.tooltip-bubble--visible{opacity:1}.tooltip-bubble--top{bottom:calc(100% + 12px);left:50%;transform:translateX(-50%)}.tooltip-bubble--bottom{top:calc(100% + 12px);left:50%;transform:translateX(-50%)}.tooltip-bubble--left{right:calc(100% + 12px);top:50%;transform:translateY(-50%)}.tooltip-bubble--right{left:calc(100% + 12px);top:50%;transform:translateY(-50%)}.tooltip-arrow{position:absolute;width:12px;height:6px}.tooltip-arrow::before{content:'';position:absolute;width:0;height:0}.tooltip-arrow--top{top:100%;left:50%;transform:translateX(-50%)}.tooltip-arrow--top::before{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--Gray-Gray-800)}.tooltip-arrow--bottom{bottom:100%;left:50%;transform:translateX(-50%)}.tooltip-arrow--bottom::before{border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid var(--Gray-Gray-800)}.tooltip-arrow--left{left:100%;top:50%;transform:translateY(-50%)}.tooltip-arrow--left::before{border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--Gray-Gray-800)}.tooltip-arrow--right{right:100%;top:50%;transform:translateY(-50%)}.tooltip-arrow--right::before{border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:6px solid var(--Gray-Gray-800)}`;
|
|
4
|
+
|
|
5
|
+
const DropiTooltipV2 = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
/** Tooltip text */
|
|
10
|
+
text = '';
|
|
11
|
+
/** Tooltip title (bold, shown with label) */
|
|
12
|
+
title = '';
|
|
13
|
+
/** Tooltip label (shown below title) */
|
|
14
|
+
label = '';
|
|
15
|
+
/** Position: top | bottom | left | right */
|
|
16
|
+
position = 'bottom';
|
|
17
|
+
/** Position of the arrow: start | center | end (matches Angular `arrowPosition`) */
|
|
18
|
+
arrowPosition = 'center';
|
|
19
|
+
/** Trigger: hover | click | focus | timeout | static | hidden */
|
|
20
|
+
trigger = 'hover';
|
|
21
|
+
/** Max CSS width of the bubble */
|
|
22
|
+
maxWidth = '280px';
|
|
23
|
+
/** Min CSS width of the bubble (matches Angular `minWidth`) */
|
|
24
|
+
minWidth = '300px';
|
|
25
|
+
/** Delay in ms before showing */
|
|
26
|
+
showDelay = 0;
|
|
27
|
+
/** Disable the tooltip completely (matches Angular `disabled`) */
|
|
28
|
+
disabled = false;
|
|
29
|
+
/** Show the trigger icon (matches Angular `showIcon`) */
|
|
30
|
+
showIcon = true;
|
|
31
|
+
/** Show the close (X) button inside the bubble (matches Angular `showX`) */
|
|
32
|
+
showX = false;
|
|
33
|
+
/** Icon name from the dropi-icon sprite (matches Angular `iconName`) */
|
|
34
|
+
iconName = 'Tooltip';
|
|
35
|
+
/** Icon color token or hex (matches Angular `iconColor`) */
|
|
36
|
+
iconColor = '#7B8190';
|
|
37
|
+
/** Icon size in px without unit (matches Angular `iconSize`) */
|
|
38
|
+
iconSize = '14';
|
|
39
|
+
visible = false;
|
|
40
|
+
showTimer = null;
|
|
41
|
+
timeoutTimer = null;
|
|
42
|
+
componentDidLoad() {
|
|
43
|
+
if (this.trigger === 'static')
|
|
44
|
+
this.show();
|
|
45
|
+
if (this.trigger === 'timeout')
|
|
46
|
+
this.showWithTimeout();
|
|
47
|
+
}
|
|
48
|
+
show = () => {
|
|
49
|
+
if (this.disabled || this.trigger === 'hidden')
|
|
50
|
+
return;
|
|
51
|
+
const content = this.text || this.title || this.label;
|
|
52
|
+
if (!content.trim())
|
|
53
|
+
return;
|
|
54
|
+
if (this.showDelay > 0) {
|
|
55
|
+
this.showTimer = setTimeout(() => { this.visible = true; }, this.showDelay);
|
|
56
|
+
}
|
|
57
|
+
else {
|
|
58
|
+
this.visible = true;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
hide = () => {
|
|
62
|
+
if (this.showTimer) {
|
|
63
|
+
clearTimeout(this.showTimer);
|
|
64
|
+
this.showTimer = null;
|
|
65
|
+
}
|
|
66
|
+
if (this.timeoutTimer) {
|
|
67
|
+
clearTimeout(this.timeoutTimer);
|
|
68
|
+
this.timeoutTimer = null;
|
|
69
|
+
}
|
|
70
|
+
this.visible = false;
|
|
71
|
+
};
|
|
72
|
+
showWithTimeout() {
|
|
73
|
+
this.show();
|
|
74
|
+
this.timeoutTimer = setTimeout(() => this.hide(), 6000);
|
|
75
|
+
}
|
|
76
|
+
handleMouseEnter = () => {
|
|
77
|
+
if (this.trigger !== 'hover')
|
|
78
|
+
return;
|
|
79
|
+
this.show();
|
|
80
|
+
};
|
|
81
|
+
handleMouseLeave = () => {
|
|
82
|
+
if (this.trigger !== 'hover')
|
|
83
|
+
return;
|
|
84
|
+
setTimeout(() => this.hide(), 10);
|
|
85
|
+
};
|
|
86
|
+
handleClick = () => {
|
|
87
|
+
if (this.trigger !== 'click')
|
|
88
|
+
return;
|
|
89
|
+
this.visible ? this.hide() : this.show();
|
|
90
|
+
};
|
|
91
|
+
handleFocusin = () => {
|
|
92
|
+
if (this.trigger !== 'focus')
|
|
93
|
+
return;
|
|
94
|
+
this.show();
|
|
95
|
+
};
|
|
96
|
+
handleFocusout = () => {
|
|
97
|
+
if (this.trigger !== 'focus')
|
|
98
|
+
return;
|
|
99
|
+
this.hide();
|
|
100
|
+
};
|
|
101
|
+
handleClose = () => {
|
|
102
|
+
if (this.trigger === 'static') {
|
|
103
|
+
this.trigger = 'hover';
|
|
104
|
+
this.showX = false;
|
|
105
|
+
}
|
|
106
|
+
this.hide();
|
|
107
|
+
};
|
|
108
|
+
get displayContent() {
|
|
109
|
+
if (this.text)
|
|
110
|
+
return this.text;
|
|
111
|
+
if (this.title && this.label)
|
|
112
|
+
return `${this.title}\n${this.label}`;
|
|
113
|
+
return this.title || this.label || '';
|
|
114
|
+
}
|
|
115
|
+
render() {
|
|
116
|
+
const bubbleStyle = { maxWidth: this.maxWidth };
|
|
117
|
+
if (this.minWidth)
|
|
118
|
+
bubbleStyle.minWidth = this.minWidth;
|
|
119
|
+
return (h("div", { key: '85f49bcb2af567a8fb70cd92afab893a2e0bf567', class: "tooltip-wrapper", onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, onClick: this.handleClick, onFocusin: this.handleFocusin, onFocusout: this.handleFocusout }, this.showIcon && (h("dropi-icon", { key: '0ec2770a45d95e2dc655886d086f7f44c12fdda5', name: this.iconName, iconWidth: `${this.iconSize}px`, iconHeight: `${this.iconSize}px`, color: this.iconColor })), h("slot", { key: 'caeff259dfaecdd7757d85bee3e93b15d8b53173' }), this.displayContent && (h("div", { key: 'e1be3f25c37b978b79db639a245d1030e9de2d59', class: {
|
|
120
|
+
'tooltip-bubble': true,
|
|
121
|
+
[`tooltip-bubble--${this.position}`]: true,
|
|
122
|
+
[`tooltip-bubble--arrow-${this.arrowPosition}`]: true,
|
|
123
|
+
'tooltip-bubble--visible': this.visible,
|
|
124
|
+
}, style: bubbleStyle, role: "tooltip" }, this.showX && (h("button", { key: 'ba9f719b7066bb953a45b60f03fce20383c2eac5', class: "tooltip-close", onClick: this.handleClose, "aria-label": "Cerrar" }, h("dropi-icon", { key: '8660e8130e643393c9cd70846247ccae8e3ebf24', name: "Close-small", iconWidth: "12px", iconHeight: "12px", color: "Gray-Gray-500" }))), this.title && !this.text && h("strong", { key: '2d2a39d2d2a3993b62901497660a31193bcece12', class: "tooltip-title" }, this.title), this.label && !this.text && h("span", { key: 'b34e2e997629c5700b64a6ae527b71c44e8939f4', class: "tooltip-label" }, this.label), this.text && h("span", { key: '4cd22e60cce211b96cf8441a33dcd7afe5b88e40' }, this.text), h("span", { key: 'deb83c9f7c1a9cfbb3f68ec087cae81d0f64a56b', class: `tooltip-arrow tooltip-arrow--${this.position}` })))));
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
DropiTooltipV2.style = dropiTooltipCss();
|
|
128
|
+
|
|
129
|
+
export { DropiTooltipV2 as dropi_tooltip_v2 };
|
|
130
|
+
//# sourceMappingURL=dropi-tooltip-v2.entry.esm.js.map
|
|
131
|
+
|
|
132
|
+
//# sourceMappingURL=dropi-tooltip-v2.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,CAAC,IAAI,EAAE;AAC1C,QAAA,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS;YAAE,IAAI,CAAC,eAAe,EAAE;;IAGhD,IAAI,GAAG,MAAK;QAClB,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,OAAO,KAAK,QAAQ;YAAE;AAChD,QAAA,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK;AACr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AAA,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 iconWidth={`${this.iconSize}px`}\n iconHeight={`${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\" iconWidth=\"12px\" iconHeight=\"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}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { r as registerInstance, h } from './index-Cvp2LQOM.js';
|
|
2
|
+
|
|
3
|
+
const dropiTooltipCss = () => `:host{display:inline-block;position:relative}.tooltip-simple-bubble{position:absolute;background:var(--Gray-Gray-800, #1e293b);color:white;padding:4px 8px;border-radius:4px;font-size:12px;bottom:100%;left:50%;transform:translateX(-50%);margin-bottom:8px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity 0.2s;z-index:1000}:host(:hover) .tooltip-simple-bubble{opacity:1}.tooltip-simple--outlined .tooltip-simple-bubble{border:1px solid var(--Gray-Gray-300);background:white;color:var(--Gray-Gray-800)}`;
|
|
4
|
+
|
|
5
|
+
const DropiTooltip = class {
|
|
6
|
+
constructor(hostRef) {
|
|
7
|
+
registerInstance(this, hostRef);
|
|
8
|
+
}
|
|
9
|
+
/** Tooltip text */
|
|
10
|
+
text = '';
|
|
11
|
+
/** Whether the tooltip has an outline style (matches Angular `outlined`) */
|
|
12
|
+
outlined = false;
|
|
13
|
+
render() {
|
|
14
|
+
return (h("div", { key: '0b14943b628c231fbb530620e7829f70e6099c7a', class: { 'tooltip-simple': true, 'tooltip-simple--outlined': this.outlined } }, h("slot", { key: 'bf0245c6fab0ba938834d2d3e84ccaa9cb14f5c8' }), this.text && (h("div", { key: 'e1e33acf8628f79b36c5cc66c7076a03ce8167f7', class: "tooltip-simple-bubble" }, this.text))));
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
DropiTooltip.style = dropiTooltipCss();
|
|
18
|
+
|
|
19
|
+
export { DropiTooltip as dropi_tooltip };
|
|
20
|
+
//# sourceMappingURL=dropi-tooltip.entry.esm.js.map
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=dropi-tooltip.entry.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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 +1,311 @@
|
|
|
1
|
-
|
|
1
|
+
/* ============================================================
|
|
2
|
+
DROPI DESIGN SYSTEM — TOKENS GLOBALES
|
|
3
|
+
Fuente: tokens.scss + variables_system_design.scss
|
|
4
|
+
============================================================ */
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
/* ── Brand: Primary ─────────────────────────────────────── */
|
|
8
|
+
--Primary-Primary-50: #fef8f2;
|
|
9
|
+
--Primary-Primary-100: #ffecda;
|
|
10
|
+
--Primary-Primary-200: #fcddbd;
|
|
11
|
+
--Primary-Primary-300: #f2bc85;
|
|
12
|
+
--Primary-Primary-400: #f7b46f;
|
|
13
|
+
--Primary-Primary-500: #f49a3d;
|
|
14
|
+
--Primary-Primary-600: #e58017;
|
|
15
|
+
--Primary-Primary-700: #99540f;
|
|
16
|
+
--Primary-Primary-800: #66380a;
|
|
17
|
+
--Primary-Primary-900: #331c05;
|
|
18
|
+
|
|
19
|
+
/* ── Brand: Secondary ───────────────────────────────────── */
|
|
20
|
+
--Secondary-Secondary-50: #f0fafc;
|
|
21
|
+
--Secondary-Secondary-100: #cee8f2;
|
|
22
|
+
--Secondary-Secondary-200: #95d0e5;
|
|
23
|
+
--Secondary-Secondary-300: #62bad9;
|
|
24
|
+
--Secondary-Secondary-400: #33a4cc;
|
|
25
|
+
--Secondary-Secondary-500: #008dbf;
|
|
26
|
+
--Secondary-Secondary-600: #007199;
|
|
27
|
+
--Secondary-Secondary-700: #005573;
|
|
28
|
+
--Secondary-Secondary-800: #00384d;
|
|
29
|
+
--Secondary-Secondary-900: #001c26;
|
|
30
|
+
|
|
31
|
+
/* ── Neutral ─────────────────────────────────────────────── */
|
|
32
|
+
--Neutral-White: #ffffff;
|
|
33
|
+
--Neutral-Black: #000000;
|
|
34
|
+
|
|
35
|
+
/* ── Gray ────────────────────────────────────────────────── */
|
|
36
|
+
--Gray-Gray-50: #f7f8fa;
|
|
37
|
+
--Gray-Gray-100: #e6eaf2;
|
|
38
|
+
--Gray-Gray-200: #c3c9d9;
|
|
39
|
+
--Gray-Gray-300: #a3abbf;
|
|
40
|
+
--Gray-Gray-400: #858ea6;
|
|
41
|
+
--Gray-Gray-500: #69738c;
|
|
42
|
+
--Gray-Gray-600: #475066;
|
|
43
|
+
--Gray-Gray-700: #32394d;
|
|
44
|
+
--Gray-Gray-800: #1f2433;
|
|
45
|
+
--Gray-Gray-900: #0e111a;
|
|
46
|
+
|
|
47
|
+
/* ── Success ─────────────────────────────────────────────── */
|
|
48
|
+
--Success-Success-50: #e7f8f3;
|
|
49
|
+
--Success-Success-100: #b3eada;
|
|
50
|
+
--Success-Success-200: #8ee0c8;
|
|
51
|
+
--Success-Success-300: #5bd1af;
|
|
52
|
+
--Success-Success-400: #3bc99f;
|
|
53
|
+
--Success-Success-500: #0abb87;
|
|
54
|
+
--Success-Success-600: #09aa7b;
|
|
55
|
+
--Success-Success-700: #078560;
|
|
56
|
+
--Success-Success-800: #06674a;
|
|
57
|
+
--Success-Success-900: #044f39;
|
|
58
|
+
|
|
59
|
+
/* ── Error ───────────────────────────────────────────────── */
|
|
60
|
+
--Error-Error-50: #fef0f0;
|
|
61
|
+
--Error-Error-100: #fcd1d1;
|
|
62
|
+
--Error-Error-200: #fababb;
|
|
63
|
+
--Error-Error-300: #f89b9c;
|
|
64
|
+
--Error-Error-400: #f68889;
|
|
65
|
+
--Error-Error-500: #f46a6b;
|
|
66
|
+
--Error-Error-600: #de6061;
|
|
67
|
+
--Error-Error-700: #ad4b4c;
|
|
68
|
+
--Error-Error-800: #863a3b;
|
|
69
|
+
--Error-Error-900: #662d2d;
|
|
70
|
+
|
|
71
|
+
/* ── Info ────────────────────────────────────────────────── */
|
|
72
|
+
--Info-Info-50: #eef6fe;
|
|
73
|
+
--Info-Info-100: #c9e3fb;
|
|
74
|
+
--Info-Info-200: #afd6f9;
|
|
75
|
+
--Info-Info-300: #8ac3f6;
|
|
76
|
+
--Info-Info-400: #73b7f4;
|
|
77
|
+
--Info-Info-500: #50a5f1;
|
|
78
|
+
--Info-Info-600: #4996db;
|
|
79
|
+
--Info-Info-700: #3975ab;
|
|
80
|
+
--Info-Info-800: #2c5b85;
|
|
81
|
+
--Info-Info-900: #224565;
|
|
82
|
+
|
|
83
|
+
/* ── Warning ─────────────────────────────────────────────── */
|
|
84
|
+
--Warning-Warning-50: #fef8ed;
|
|
85
|
+
--Warning-Warning-100: #fbe8c8;
|
|
86
|
+
--Warning-Warning-200: #f9ddad;
|
|
87
|
+
--Warning-Warning-300: #f6cd87;
|
|
88
|
+
--Warning-Warning-400: #f4c370;
|
|
89
|
+
--Warning-Warning-500: #f1b44c;
|
|
90
|
+
--Warning-Warning-600: #dba445;
|
|
91
|
+
--Warning-Warning-700: #ab8036;
|
|
92
|
+
--Warning-Warning-800: #85632a;
|
|
93
|
+
--Warning-Warning-900: #654c20;
|
|
94
|
+
|
|
95
|
+
/* ── Orange ──────────────────────────────────────────────── */
|
|
96
|
+
--Orange-orange-50: #fef5ec;
|
|
97
|
+
--Orange-orange-500: #f49a3d;
|
|
98
|
+
|
|
99
|
+
/* ── Spacing ─────────────────────────────────────────────── */
|
|
100
|
+
--Size-1: 4px;
|
|
101
|
+
--Size-2: 8px;
|
|
102
|
+
--Size-3: 12px;
|
|
103
|
+
--Size-4: 16px;
|
|
104
|
+
--Size-5: 24px;
|
|
105
|
+
--Size-6: 32px;
|
|
106
|
+
--Size-7: 40px;
|
|
107
|
+
--Size-8: 48px;
|
|
108
|
+
--Size-9: 56px;
|
|
109
|
+
--Size-10: 64px;
|
|
110
|
+
|
|
111
|
+
/* ── Border Radius ───────────────────────────────────────── */
|
|
112
|
+
--Border-1: 4px;
|
|
113
|
+
--Border-2: 8px;
|
|
114
|
+
--Border-3: 12px;
|
|
115
|
+
--Border-4: 24px;
|
|
116
|
+
--Border-5: 32px;
|
|
117
|
+
--Border-full: 9999px;
|
|
118
|
+
|
|
119
|
+
/* ── Font Size ───────────────────────────────────────────── */
|
|
120
|
+
--font-size-xxxxl: 36px;
|
|
121
|
+
--font-size-xxxl: 30px;
|
|
122
|
+
--font-size-xxl: 24px;
|
|
123
|
+
--font-size-xl: 20px;
|
|
124
|
+
--font-size-l: 18px;
|
|
125
|
+
--font-size-m: 16px;
|
|
126
|
+
--font-size-s: 14px;
|
|
127
|
+
--font-size-xs: 12px;
|
|
128
|
+
--font-size-xxs: 10px;
|
|
129
|
+
|
|
130
|
+
/* ── Line Height ─────────────────────────────────────────── */
|
|
131
|
+
--lineheight-simple: 110%;
|
|
132
|
+
--lineheight-large: 150%;
|
|
133
|
+
|
|
134
|
+
/* ── Font Weight ─────────────────────────────────────────── */
|
|
135
|
+
--font-weight-bold: 700;
|
|
136
|
+
--font-weight-semibold: 600;
|
|
137
|
+
--font-weight-medium: 500;
|
|
138
|
+
--font-weight-regular: 400;
|
|
139
|
+
--font-weight-light: 300;
|
|
140
|
+
|
|
141
|
+
/* ── Font Family ─────────────────────────────────────────── */
|
|
142
|
+
--font-family-01: 'Inter', sans-serif;
|
|
143
|
+
|
|
144
|
+
/* ── Breakpoints ─────────────────────────────────────────── */
|
|
145
|
+
--breakpoint-extra-small: 576px;
|
|
146
|
+
--breakpoint-small: 600px;
|
|
147
|
+
--breakpoint-medium: 1000px;
|
|
148
|
+
--breakpoint-large: 1200px;
|
|
149
|
+
--breakpoint-extra-large: 1536px;
|
|
150
|
+
--breakpoint-full-width: 1920px;
|
|
151
|
+
|
|
152
|
+
/* ── Shadows ─────────────────────────────────────────────── */
|
|
153
|
+
--Shadow-small: 0px 0px 12px rgba(0, 0, 0, 0.04);
|
|
154
|
+
--Shadow-medium: 0.5px 4px 8px rgba(0, 0, 0, 0.08);
|
|
155
|
+
--Shadow-large: 0px 4px 16px rgba(0, 0, 0, 0.16);
|
|
156
|
+
--Shadow-icon: 0px 0px 4px rgba(0, 0, 0, 0.16);
|
|
157
|
+
|
|
158
|
+
/* ── Transportadoras ─────────────────────────────────────── */
|
|
159
|
+
--Interrapidisimo: #383637;
|
|
160
|
+
--Domina: #464ffe;
|
|
161
|
+
--Coordinadora: #2686c5;
|
|
162
|
+
--Servientrega: #1ba558;
|
|
163
|
+
--99-minutos: #9cd453;
|
|
164
|
+
--TCC: #f8dd49;
|
|
165
|
+
--Veloces: #dc2e76;
|
|
166
|
+
--Envia: #e7484e;
|
|
167
|
+
--Restlogix: #90dd92;
|
|
168
|
+
--Tiui: #0596a5;
|
|
169
|
+
--Fedex: #4d148c;
|
|
170
|
+
--Laarcourier: #faf063;
|
|
171
|
+
--Gintracom: #ff3939;
|
|
172
|
+
--Blue-express: #1542a3;
|
|
173
|
+
--Lulu: #f03a3e;
|
|
174
|
+
--Urbano: #e53237;
|
|
175
|
+
--Tipsa: #1d3681;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* ── Responsive Font Sizes (mobile) ─────────────────────── */
|
|
179
|
+
@media (max-width: 600px) {
|
|
180
|
+
:root {
|
|
181
|
+
--font-size-xxxxl: 32px;
|
|
182
|
+
--font-size-xxxl: 26px;
|
|
183
|
+
--font-size-xxl: 20px;
|
|
184
|
+
--font-size-xl: 18px;
|
|
185
|
+
--font-size-l: 16px;
|
|
186
|
+
--font-size-m: 16px;
|
|
187
|
+
--font-size-s: 14px;
|
|
188
|
+
--font-size-xs: 12px;
|
|
189
|
+
--font-size-xxs: 10px;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* ── Base ────────────────────────────────────────────────── */
|
|
194
|
+
* {
|
|
195
|
+
font-family: var(--font-family-01);
|
|
196
|
+
box-sizing: border-box;
|
|
197
|
+
text-align: left;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/* ── Headings ────────────────────────────────────────────── */
|
|
201
|
+
h1 {
|
|
202
|
+
color: var(--Gray-Gray-700);
|
|
203
|
+
font-size: var(--font-size-xxxxl);
|
|
204
|
+
font-weight: var(--font-weight-bold);
|
|
205
|
+
line-height: var(--lineheight-simple);
|
|
206
|
+
}
|
|
207
|
+
h2 {
|
|
208
|
+
color: var(--Gray-Gray-700);
|
|
209
|
+
font-size: var(--font-size-xxxl);
|
|
210
|
+
font-weight: var(--font-weight-bold);
|
|
211
|
+
line-height: var(--lineheight-simple);
|
|
212
|
+
}
|
|
213
|
+
h3 {
|
|
214
|
+
color: var(--Gray-Gray-700);
|
|
215
|
+
font-size: var(--font-size-xxl);
|
|
216
|
+
font-weight: var(--font-weight-bold);
|
|
217
|
+
line-height: var(--lineheight-simple);
|
|
218
|
+
}
|
|
219
|
+
h4 {
|
|
220
|
+
color: var(--Gray-Gray-700);
|
|
221
|
+
font-size: var(--font-size-xl);
|
|
222
|
+
font-weight: var(--font-weight-bold);
|
|
223
|
+
line-height: var(--lineheight-simple);
|
|
224
|
+
}
|
|
225
|
+
h5 {
|
|
226
|
+
color: var(--Gray-Gray-700);
|
|
227
|
+
font-size: var(--font-size-l);
|
|
228
|
+
font-weight: var(--font-weight-bold);
|
|
229
|
+
line-height: var(--lineheight-simple);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/* ── Typography Utility Classes ──────────────────────────── */
|
|
233
|
+
.Body-L-Medium {
|
|
234
|
+
color: var(--Gray-Gray-700);
|
|
235
|
+
font-size: var(--font-size-m);
|
|
236
|
+
font-weight: var(--font-weight-medium);
|
|
237
|
+
line-height: var(--lineheight-large);
|
|
238
|
+
}
|
|
239
|
+
.Body-L-Regular {
|
|
240
|
+
color: var(--Gray-Gray-600);
|
|
241
|
+
font-size: var(--font-size-m);
|
|
242
|
+
font-weight: var(--font-weight-regular);
|
|
243
|
+
line-height: var(--lineheight-large);
|
|
244
|
+
}
|
|
245
|
+
.Body-M-Medium {
|
|
246
|
+
color: var(--Gray-Gray-700);
|
|
247
|
+
font-size: var(--font-size-s);
|
|
248
|
+
font-weight: var(--font-weight-medium);
|
|
249
|
+
line-height: var(--lineheight-large);
|
|
250
|
+
}
|
|
251
|
+
.Body-M-Regular {
|
|
252
|
+
color: var(--Gray-Gray-600);
|
|
253
|
+
font-size: var(--font-size-s);
|
|
254
|
+
font-weight: var(--font-weight-regular);
|
|
255
|
+
line-height: var(--lineheight-large);
|
|
256
|
+
}
|
|
257
|
+
.Body-S-Medium {
|
|
258
|
+
color: var(--Gray-Gray-700);
|
|
259
|
+
font-size: var(--font-size-xs);
|
|
260
|
+
font-weight: var(--font-weight-medium);
|
|
261
|
+
line-height: var(--lineheight-large);
|
|
262
|
+
}
|
|
263
|
+
.Body-S-Regular {
|
|
264
|
+
color: var(--Gray-Gray-600);
|
|
265
|
+
font-size: var(--font-size-xs);
|
|
266
|
+
font-weight: var(--font-weight-regular);
|
|
267
|
+
line-height: var(--lineheight-large);
|
|
268
|
+
}
|
|
269
|
+
.Caption-M {
|
|
270
|
+
color: var(--Gray-Gray-700);
|
|
271
|
+
font-size: var(--font-size-xs);
|
|
272
|
+
font-weight: var(--font-weight-bold);
|
|
273
|
+
line-height: var(--lineheight-simple);
|
|
274
|
+
}
|
|
275
|
+
.Caption-S {
|
|
276
|
+
color: var(--Gray-Gray-700);
|
|
277
|
+
font-size: var(--font-size-xxs);
|
|
278
|
+
font-weight: var(--font-weight-bold);
|
|
279
|
+
line-height: var(--lineheight-simple);
|
|
280
|
+
}
|
|
281
|
+
.Label-L {
|
|
282
|
+
color: var(--Gray-Gray-700);
|
|
283
|
+
font-size: var(--font-size-m);
|
|
284
|
+
font-weight: var(--font-weight-bold);
|
|
285
|
+
line-height: var(--lineheight-simple);
|
|
286
|
+
}
|
|
287
|
+
.Label-M {
|
|
288
|
+
color: var(--Gray-Gray-700);
|
|
289
|
+
font-size: var(--font-size-s);
|
|
290
|
+
font-weight: var(--font-weight-bold);
|
|
291
|
+
line-height: var(--lineheight-simple);
|
|
292
|
+
}
|
|
293
|
+
.Label-S {
|
|
294
|
+
color: var(--Gray-Gray-700);
|
|
295
|
+
font-size: var(--font-size-xs);
|
|
296
|
+
font-weight: var(--font-weight-bold);
|
|
297
|
+
line-height: var(--lineheight-simple);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/* Support for scroll locking in modals/drawers without direct style manipulation (SSR safe) */
|
|
301
|
+
body.dropi-modal-open {
|
|
302
|
+
overflow: hidden !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/* Prevent dropi-icon from flashing at full size before the component is defined */
|
|
306
|
+
dropi-icon:not(:defined) {
|
|
307
|
+
display: inline-flex;
|
|
308
|
+
width: 24px;
|
|
309
|
+
height: 24px;
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
}
|