@dropi/ui 0.1.41 → 0.1.43
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 +2 -2
- package/dist/cjs/dropi-accordion.cjs.entry.js +2 -2
- package/dist/cjs/dropi-alert-legacy.cjs.entry.js +1 -1
- package/dist/cjs/dropi-alert-modal.cjs.entry.js +20 -16
- package/dist/cjs/dropi-alert.cjs.entry.js +12 -12
- package/dist/cjs/dropi-avatars.cjs.entry.js +1 -1
- package/dist/cjs/dropi-badge-legacy.cjs.entry.js +2 -2
- package/dist/cjs/dropi-badge.cjs.entry.js +1 -1
- package/dist/cjs/dropi-banner-external.cjs.entry.js +3 -3
- package/dist/cjs/dropi-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/dropi-button.cjs.entry.js +7 -7
- package/dist/cjs/dropi-card-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/dropi-card-product.cjs.entry.js +12 -12
- package/dist/cjs/dropi-card-section.cjs.entry.js +9 -9
- package/dist/cjs/dropi-carousel.cjs.entry.js +8 -8
- package/dist/cjs/dropi-checkbox-selection-list.cjs.entry.js +9 -9
- package/dist/cjs/dropi-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/dropi-chips.cjs.entry.js +4 -4
- package/dist/cjs/dropi-city-selector.cjs.entry.js +3 -3
- package/dist/cjs/dropi-color-picker.cjs.entry.js +4 -4
- package/dist/cjs/dropi-country-flags.cjs.entry.js +2 -2
- package/dist/cjs/dropi-country-selector.cjs.entry.js +98 -10
- package/dist/cjs/dropi-date-picker-range.cjs.entry.js +4 -4
- package/dist/cjs/dropi-date-picker.cjs.entry.js +12 -12
- package/dist/cjs/dropi-drawer.cjs.entry.js +5 -5
- package/dist/cjs/dropi-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/dropi-empty-state.cjs.entry.js +3 -3
- package/dist/cjs/dropi-favorite-button.cjs.entry.js +3 -3
- package/dist/cjs/dropi-file-upload-progress-bar.cjs.entry.js +5 -5
- package/dist/cjs/dropi-file-upload.cjs.entry.js +3 -3
- package/dist/cjs/dropi-icon.cjs.entry.js +17 -3
- package/dist/cjs/dropi-ilustration-icon.cjs.entry.js +5 -5
- package/dist/cjs/dropi-image-miniature.cjs.entry.js +3 -3
- package/dist/cjs/dropi-image-overlay.cjs.entry.js +2 -2
- package/dist/cjs/dropi-input_3.cjs.entry.js +50 -22
- package/dist/cjs/dropi-languages-selector.cjs.entry.js +4 -4
- package/dist/cjs/dropi-logo.cjs.entry.js +2 -2
- package/dist/cjs/dropi-lottie-loader.cjs.entry.js +1 -1
- package/dist/cjs/dropi-media-player.cjs.entry.js +3 -3
- package/dist/cjs/dropi-modal.cjs.entry.js +37 -32
- package/dist/cjs/dropi-navbar.cjs.entry.js +7 -7
- package/dist/cjs/dropi-otp-send-code.cjs.entry.js +34 -19
- package/dist/cjs/dropi-phone-input.cjs.entry.js +15 -15
- package/dist/cjs/dropi-progress-bar.cjs.entry.js +43 -0
- package/dist/cjs/dropi-radio-button.cjs.entry.js +5 -5
- package/dist/cjs/dropi-radio-selection-list.cjs.entry.js +9 -9
- package/dist/cjs/dropi-read-more.cjs.entry.js +2 -2
- package/dist/cjs/dropi-search.cjs.entry.js +21 -21
- package/dist/cjs/dropi-select.cjs.entry.js +50 -22
- package/dist/cjs/dropi-sidebar.cjs.entry.js +6 -6
- package/dist/cjs/dropi-simple-stepper.cjs.entry.js +1 -1
- package/dist/cjs/dropi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/dropi-steps.cjs.entry.js +1 -1
- package/dist/cjs/dropi-switch.cjs.entry.js +5 -5
- package/dist/cjs/dropi-table.cjs.entry.js +38 -30
- package/dist/cjs/dropi-tabs.cjs.entry.js +5 -5
- package/dist/cjs/dropi-tag-type-product.cjs.entry.js +2 -2
- package/dist/cjs/dropi-text-area.cjs.entry.js +7 -7
- package/dist/cjs/dropi-time-line.cjs.entry.js +2 -2
- package/dist/cjs/dropi-toast.cjs.entry.js +3 -3
- package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +4 -4
- package/dist/cjs/dropi-tooltip.cjs.entry.js +3 -3
- package/dist/cjs/dropi-ui.cjs.js +2 -2
- package/dist/cjs/dropi-vertical-steps.cjs.entry.js +3 -3
- package/dist/cjs/dropi-youtube-lazy-video.cjs.entry.js +2 -2
- package/dist/cjs/index-CEWSDq65.js +2773 -0
- package/dist/cjs/index-DydfpGMc.js +2773 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/symbol/svg/sprite.css.svg +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/dropi-accordion/dropi-accordion-item.js +1 -1
- package/dist/collection/components/dropi-accordion/dropi-accordion.js +1 -1
- package/dist/collection/components/dropi-alert/dropi-alert.js +16 -16
- package/dist/collection/components/dropi-alert-modal/dropi-alert-modal.js +43 -19
- package/dist/collection/components/dropi-badge-legacy/dropi-badge-legacy.js +1 -1
- package/dist/collection/components/dropi-button/dropi-button.css +6 -3
- package/dist/collection/components/dropi-button/dropi-button.js +6 -6
- package/dist/collection/components/dropi-card-checkbox/dropi-card-checkbox.js +6 -6
- package/dist/collection/components/dropi-card-product/dropi-card-product.js +11 -11
- package/dist/collection/components/dropi-card-section/dropi-card-section.js +10 -10
- package/dist/collection/components/dropi-carousel/dropi-carousel.js +9 -9
- package/dist/collection/components/dropi-checkbox/dropi-checkbox.js +6 -6
- package/dist/collection/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.js +10 -10
- package/dist/collection/components/dropi-chips/dropi-chips.js +4 -4
- package/dist/collection/components/dropi-city-selector/dropi-city-selector.css +1 -1
- package/dist/collection/components/dropi-color-picker/dropi-color-picker.js +2 -2
- package/dist/collection/components/dropi-country-flags/dropi-country-flags.js +1 -1
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.css +1 -1
- package/dist/collection/components/dropi-country-selector/dropi-country-selector.js +117 -9
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +12 -12
- package/dist/collection/components/dropi-drawer/dropi-drawer.css +1 -1
- package/dist/collection/components/dropi-drawer/dropi-drawer.js +2 -2
- package/dist/collection/components/dropi-empty-state/dropi-empty-state.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 +1 -1
- 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 +2 -0
- package/dist/collection/components/dropi-icon/dropi-icon.js +35 -1
- package/dist/collection/components/dropi-ilustration-icon/dropi-ilustration-icon.js +4 -4
- package/dist/collection/components/dropi-image-miniature/dropi-image-miniature.js +1 -1
- package/dist/collection/components/dropi-input/dropi-input.js +18 -18
- package/dist/collection/components/dropi-languages-selector/dropi-languages-selector.js +4 -4
- package/dist/collection/components/dropi-logo/dropi-logo.js +1 -1
- package/dist/collection/components/dropi-modal/dropi-modal.css +12 -6
- package/dist/collection/components/dropi-modal/dropi-modal.js +47 -42
- package/dist/collection/components/dropi-navbar/dropi-navbar.js +2 -2
- package/dist/collection/components/dropi-otp-send-code/dropi-otp-send-code.js +54 -18
- package/dist/collection/components/dropi-paginator/dropi-paginator.js +6 -6
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.css +1 -1
- package/dist/collection/components/dropi-phone-input/dropi-phone-input.js +17 -17
- package/dist/collection/components/dropi-progress-bar/dropi-progress-bar.css +35 -0
- package/dist/collection/components/dropi-progress-bar/dropi-progress-bar.js +168 -0
- package/dist/collection/components/dropi-radio-button/dropi-radio-button.js +5 -5
- package/dist/collection/components/dropi-radio-selection-list/dropi-radio-selection-list.js +10 -10
- package/dist/collection/components/dropi-read-more/dropi-read-more.js +1 -1
- package/dist/collection/components/dropi-search/dropi-search.js +26 -26
- package/dist/collection/components/dropi-select/dropi-select.css +5 -1
- package/dist/collection/components/dropi-select/dropi-select.js +85 -25
- package/dist/collection/components/dropi-sidebar/dropi-sidebar.js +6 -6
- package/dist/collection/components/dropi-switch/dropi-switch.js +5 -5
- package/dist/collection/components/dropi-table/dropi-table.js +35 -27
- package/dist/collection/components/dropi-tabs/dropi-tabs.js +5 -5
- package/dist/collection/components/dropi-tag/dropi-tag.css +16 -7
- package/dist/collection/components/dropi-tag/dropi-tag.js +55 -1
- package/dist/collection/components/dropi-tag-type-product/dropi-tag-type-product.js +1 -1
- package/dist/collection/components/dropi-text-area/dropi-text-area.js +2 -2
- package/dist/collection/components/dropi-time-line/dropi-time-line.js +1 -1
- package/dist/collection/components/dropi-toast/dropi-toast.css +1 -1
- package/dist/collection/components/dropi-toast/dropi-toast.js +1 -1
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.css +1 -1
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.js +1 -1
- package/dist/collection/components/dropi-tooltip-v2/dropi-tooltip.css +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-accordion.js +1 -1
- package/dist/components/dropi-alert-modal.js +1 -1
- package/dist/components/dropi-alert.js +1 -1
- package/dist/components/dropi-badge-legacy.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-checkbox.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-carousel.js +1 -1
- package/dist/components/dropi-checkbox-selection-list.js +1 -1
- package/dist/components/dropi-checkbox.js +1 -1
- package/dist/components/dropi-chips.js +1 -1
- package/dist/components/dropi-city-selector.js +1 -1
- package/dist/components/dropi-color-picker.js +1 -1
- package/dist/components/dropi-country-flags.js +1 -1
- package/dist/components/dropi-country-selector.js +1 -1
- package/dist/components/dropi-date-picker-range.js +1 -1
- package/dist/components/dropi-date-picker.js +1 -1
- package/dist/components/dropi-drawer.js +1 -1
- package/dist/components/dropi-dropdown.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-logo.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-progress-bar.d.ts +11 -0
- package/dist/components/dropi-progress-bar.js +1 -0
- package/dist/components/dropi-radio-button.js +1 -1
- package/dist/components/dropi-radio-selection-list.js +1 -1
- package/dist/components/dropi-read-more.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-switch.js +1 -1
- package/dist/components/dropi-table.js +1 -1
- package/dist/components/dropi-tabs.js +1 -1
- package/dist/components/dropi-tag-type-product.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-tooltip.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/index.js +1 -1
- package/dist/components/p-1YjHPRto.js +1 -0
- package/dist/components/p-9CkX3ALN.js +1 -0
- package/dist/components/p-B9-h_ikq.js +1 -0
- package/dist/components/p-B9rJd-Rf.js +1 -0
- package/dist/components/p-BGb7xtJN.js +1 -0
- package/dist/components/p-BHV6BYSS.js +1 -0
- package/dist/components/p-BSB5Ar-y.js +1 -0
- package/dist/components/p-BSHROiHb.js +1 -0
- package/dist/components/p-BT99axEq.js +1 -0
- package/dist/components/p-BVgUVZyu.js +1 -0
- package/dist/components/p-BhRjfHZ3.js +1 -0
- package/dist/components/p-Bimspdte.js +1 -0
- package/dist/components/p-BmuWhHN-.js +1 -0
- package/dist/components/p-BqJ52YOH.js +1 -0
- package/dist/components/p-BrR1YjVi.js +1 -0
- package/dist/components/p-BrnGRyf0.js +1 -0
- package/dist/components/p-BtkDdEAq.js +1 -0
- package/dist/components/p-BvIwy9Yl.js +1 -0
- package/dist/components/p-Bw8zPxUl.js +1 -0
- package/dist/components/p-BzCPv3ND.js +1 -0
- package/dist/components/p-C44-ijf2.js +1 -0
- package/dist/components/p-CHb992Wr.js +1 -0
- package/dist/components/p-CJ4s6SQT.js +1 -0
- package/dist/components/p-CKflT57p.js +1 -0
- package/dist/components/p-CWT7wT9m.js +1 -0
- package/dist/components/p-CWWFRdg7.js +1 -0
- package/dist/components/p-CWwDNt3V.js +1 -0
- package/dist/components/p-CXUiN3Rj.js +1 -0
- package/dist/components/p-C_zOkGR5.js +1 -0
- package/dist/components/p-Cujt3jky.js +1 -0
- package/dist/components/p-D5UeShUa.js +1 -0
- package/dist/components/p-D7GP-lmt.js +1 -0
- package/dist/components/p-DFNI0UID.js +1 -0
- package/dist/components/p-DG5fe-Ke.js +1 -0
- package/dist/components/p-DKWuIsc_.js +1 -0
- package/dist/components/p-DLyzE3Kh.js +1 -0
- package/dist/components/p-DN_IcU8H.js +1 -0
- package/dist/components/p-DON3zW51.js +1 -0
- package/dist/components/p-DQzskhll.js +1 -0
- package/dist/components/p-DYAsdhfM.js +1 -0
- package/dist/components/p-DYYToiO9.js +1 -0
- package/dist/components/p-DehWQyi5.js +1 -0
- package/dist/components/p-DfSe-tBr.js +1 -0
- package/dist/components/p-Dgeh9Yg8.js +1 -0
- package/dist/components/p-DlaiuH5K.js +1 -0
- package/dist/components/p-DvaFep4Y.js +1 -0
- package/dist/components/p-ETg0qC-7.js +1 -0
- package/dist/components/p-HCtk4_Dq.js +1 -0
- package/dist/components/p-QezfyBk4.js +1 -0
- package/dist/components/p-RD09_3LO.js +1 -0
- package/dist/components/p-RQjw5hdz.js +1 -0
- package/dist/components/p-dbZuh0Uq.js +1 -0
- package/dist/components/p-emzVHCws.js +1 -0
- package/dist/components/p-im7kgtnS.js +1 -0
- package/dist/components/p-kC6NU5nP.js +1 -0
- package/dist/components/p-lX2uCKEi.js +1 -0
- package/dist/components/p-ndQSfLKF.js +1 -0
- package/dist/components/p-plWZwD4h.js +1 -0
- package/dist/components/p-t0lkpFmw.js +1 -0
- package/dist/components/p-ujToMKti.js +1 -0
- package/dist/dropi-ui/dropi-accordion-item.entry.js +2 -2
- package/dist/dropi-ui/dropi-accordion.entry.js +2 -2
- package/dist/dropi-ui/dropi-alert-legacy.entry.js +1 -1
- package/dist/dropi-ui/dropi-alert-modal.entry.js +20 -16
- package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-alert.entry.js +12 -12
- package/dist/dropi-ui/dropi-alert.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-avatars.entry.js +1 -1
- package/dist/dropi-ui/dropi-badge-legacy.entry.js +2 -2
- package/dist/dropi-ui/dropi-badge.entry.js +1 -1
- package/dist/dropi-ui/dropi-banner-external.entry.js +1 -1
- package/dist/dropi-ui/dropi-breadcrumb.entry.js +1 -1
- package/dist/dropi-ui/dropi-button.entry.js +7 -7
- package/dist/dropi-ui/dropi-button.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-checkbox.entry.js +6 -6
- package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-product.entry.js +10 -10
- package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-section.entry.js +9 -9
- package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-carousel.entry.js +8 -8
- package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +9 -9
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-checkbox.entry.js +6 -6
- package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-chips.entry.js +4 -4
- package/dist/dropi-ui/dropi-chips.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-city-selector.entry.js +2 -2
- package/dist/dropi-ui/dropi-city-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-color-picker.entry.js +3 -3
- package/dist/dropi-ui/dropi-country-flags.entry.js +2 -2
- package/dist/dropi-ui/dropi-country-selector.entry.js +98 -10
- package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-date-picker-range.entry.js +1 -1
- package/dist/dropi-ui/dropi-date-picker.entry.js +11 -11
- package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-drawer.entry.js +4 -4
- package/dist/dropi-ui/dropi-drawer.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-dropdown.entry.js +1 -1
- package/dist/dropi-ui/dropi-empty-state.entry.js +2 -2
- package/dist/dropi-ui/dropi-favorite-button.entry.js +2 -2
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +2 -2
- package/dist/dropi-ui/dropi-file-upload.entry.js +2 -2
- package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-icon.entry.js +17 -3
- package/dist/dropi-ui/dropi-icon.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js +5 -5
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-image-miniature.entry.js +2 -2
- package/dist/dropi-ui/dropi-image-overlay.entry.js +1 -1
- package/dist/dropi-ui/dropi-input.entry.js +15 -15
- package/dist/dropi-ui/dropi-input.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-languages-selector.entry.js +4 -4
- package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-logo.entry.js +2 -2
- package/dist/dropi-ui/dropi-lottie-loader.entry.js +1 -1
- package/dist/dropi-ui/dropi-media-player.entry.js +1 -1
- package/dist/dropi-ui/dropi-modal.entry.js +37 -32
- package/dist/dropi-ui/dropi-modal.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-navbar.entry.js +3 -3
- package/dist/dropi-ui/dropi-otp-send-code.entry.js +31 -16
- package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-paginator.entry.js +6 -6
- package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-phone-input.entry.js +15 -15
- package/dist/dropi-ui/dropi-phone-input.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-progress-bar.entry.js +44 -0
- package/dist/dropi-ui/dropi-progress-bar.entry.js.map +1 -0
- package/dist/dropi-ui/dropi-radio-button.entry.js +5 -5
- package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js +9 -9
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-read-more.entry.js +2 -2
- package/dist/dropi-ui/dropi-search.entry.js +21 -21
- package/dist/dropi-ui/dropi-search.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-select.entry.js +50 -22
- package/dist/dropi-ui/dropi-select.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-sidebar.entry.js +6 -6
- package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-simple-stepper.entry.js +1 -1
- package/dist/dropi-ui/dropi-skeleton.entry.js +1 -1
- package/dist/dropi-ui/dropi-steps.entry.js +1 -1
- package/dist/dropi-ui/dropi-switch.entry.js +5 -5
- package/dist/dropi-ui/dropi-switch.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-table.entry.js +30 -22
- package/dist/dropi-ui/dropi-table.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tabs.entry.js +5 -5
- package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tag-type-product.entry.js +2 -2
- package/dist/dropi-ui/dropi-tag.entry.js +31 -3
- package/dist/dropi-ui/dropi-tag.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-text-area.entry.js +3 -3
- package/dist/dropi-ui/dropi-time-line.entry.js +2 -2
- package/dist/dropi-ui/dropi-toast.entry.js +3 -3
- package/dist/dropi-ui/dropi-toast.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js +4 -4
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tooltip.entry.js +3 -3
- package/dist/dropi-ui/dropi-tooltip.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-ui.css +9 -0
- package/dist/dropi-ui/dropi-ui.esm.js +3 -3
- package/dist/dropi-ui/dropi-vertical-steps.entry.js +2 -2
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +2 -2
- package/dist/dropi-ui/index-D0Z06C2b.js +4585 -0
- package/dist/dropi-ui/index-D0Z06C2b.js.map +1 -0
- package/dist/dropi-ui/p-019c2c37.entry.js +1 -0
- package/dist/dropi-ui/p-01c57627.entry.js +1 -0
- package/dist/dropi-ui/p-03515548.entry.js +1 -0
- package/dist/dropi-ui/p-0366349e.entry.js +1 -0
- package/dist/dropi-ui/p-06bdd006.entry.js +1 -0
- package/dist/dropi-ui/p-086a6f5f.entry.js +1 -0
- package/dist/dropi-ui/p-088616e6.entry.js +1 -0
- package/dist/dropi-ui/p-08bc8fb2.entry.js +1 -0
- package/dist/dropi-ui/p-0946a1f7.entry.js +1 -0
- package/dist/dropi-ui/p-09aa9a3c.entry.js +1 -0
- package/dist/dropi-ui/p-09cf560a.entry.js +1 -0
- package/dist/dropi-ui/p-0a76c15c.entry.js +1 -0
- package/dist/dropi-ui/p-0d188f2c.entry.js +1 -0
- package/dist/dropi-ui/p-0e026afe.entry.js +1 -0
- package/dist/dropi-ui/p-0ef73e45.entry.js +1 -0
- package/dist/dropi-ui/p-0f1b13e5.entry.js +1 -0
- package/dist/dropi-ui/p-1107c210.entry.js +1 -0
- package/dist/dropi-ui/p-13a6dd72.entry.js +1 -0
- package/dist/dropi-ui/p-1558c22f.entry.js +1 -0
- package/dist/dropi-ui/p-16674c7c.entry.js +1 -0
- package/dist/dropi-ui/p-17c53e19.entry.js +1 -0
- package/dist/dropi-ui/p-19031bf8.entry.js +1 -0
- package/dist/dropi-ui/p-1a07b3a6.entry.js +1 -1
- package/dist/dropi-ui/p-1ce00757.entry.js +1 -0
- package/dist/dropi-ui/p-1d3d6a32.entry.js +1 -1
- package/dist/dropi-ui/p-229dddb0.entry.js +1 -0
- package/dist/dropi-ui/p-278281d2.entry.js +1 -0
- package/dist/dropi-ui/p-28f960a1.entry.js +1 -0
- package/dist/dropi-ui/p-2ad8d3c1.entry.js +1 -0
- package/dist/dropi-ui/p-2b5ce062.entry.js +1 -0
- package/dist/dropi-ui/p-2d356767.entry.js +1 -0
- package/dist/dropi-ui/p-2f9072e7.entry.js +1 -0
- package/dist/dropi-ui/p-30377b7e.entry.js +1 -0
- package/dist/dropi-ui/p-342eaf9e.entry.js +1 -0
- package/dist/dropi-ui/p-3496cc01.entry.js +1 -0
- package/dist/dropi-ui/p-369a069e.entry.js +1 -0
- package/dist/dropi-ui/p-372a5023.entry.js +1 -0
- package/dist/dropi-ui/p-378b165b.entry.js +1 -0
- package/dist/dropi-ui/p-37bdbadc.entry.js +1 -0
- package/dist/dropi-ui/p-393867c2.entry.js +1 -0
- package/dist/dropi-ui/p-3a28b79c.entry.js +1 -0
- package/dist/dropi-ui/p-3aefce2b.entry.js +1 -0
- package/dist/dropi-ui/p-3ec6620c.entry.js +1 -0
- package/dist/dropi-ui/p-3f76c680.entry.js +1 -0
- package/dist/dropi-ui/p-488a3113.entry.js +1 -0
- package/dist/dropi-ui/p-497e4eff.entry.js +1 -0
- package/dist/dropi-ui/p-4a72e4c8.entry.js +1 -0
- package/dist/dropi-ui/p-4b169817.entry.js +1 -0
- package/dist/dropi-ui/p-4d31eab8.entry.js +1 -0
- package/dist/dropi-ui/p-508cfd38.entry.js +1 -0
- package/dist/dropi-ui/p-50e851b7.entry.js +1 -0
- package/dist/dropi-ui/p-51028e22.entry.js +1 -0
- package/dist/dropi-ui/p-510ad065.entry.js +1 -0
- package/dist/dropi-ui/p-5730ca4e.entry.js +1 -0
- package/dist/dropi-ui/p-575e1951.entry.js +1 -0
- package/dist/dropi-ui/p-57c3b667.entry.js +1 -0
- package/dist/dropi-ui/p-5c0cd221.entry.js +1 -0
- package/dist/dropi-ui/p-5e0da387.entry.js +1 -0
- package/dist/dropi-ui/p-5eb75ddf.entry.js +1 -0
- package/dist/dropi-ui/p-5f5c0a5c.entry.js +1 -0
- package/dist/dropi-ui/p-5f735166.entry.js +1 -0
- package/dist/dropi-ui/p-60901aa7.entry.js +1 -0
- package/dist/dropi-ui/p-61f8905c.entry.js +1 -0
- package/dist/dropi-ui/p-62847b6f.entry.js +1 -0
- package/dist/dropi-ui/p-647bab57.entry.js +1 -0
- package/dist/dropi-ui/p-648e5340.entry.js +1 -0
- package/dist/dropi-ui/p-650a7679.entry.js +1 -1
- package/dist/dropi-ui/p-66d7d67b.entry.js +1 -0
- package/dist/dropi-ui/p-673a5cfd.entry.js +1 -0
- package/dist/dropi-ui/p-67ba7d35.entry.js +1 -0
- package/dist/dropi-ui/p-68cae74b.entry.js +1 -0
- package/dist/dropi-ui/p-692b665a.entry.js +1 -0
- package/dist/dropi-ui/p-69cf66c1.entry.js +1 -0
- package/dist/dropi-ui/p-6a148627.entry.js +1 -0
- package/dist/dropi-ui/p-6a51f80c.entry.js +1 -0
- package/dist/dropi-ui/p-6b925a36.entry.js +1 -0
- package/dist/dropi-ui/p-6c45c910.entry.js +1 -0
- package/dist/dropi-ui/p-6cb6cfe0.entry.js +1 -0
- package/dist/dropi-ui/p-6dbce3d3.entry.js +1 -0
- package/dist/dropi-ui/p-6ef4affd.entry.js +1 -0
- package/dist/dropi-ui/p-70f75e92.entry.js +1 -0
- package/dist/dropi-ui/p-7140309a.entry.js +1 -0
- package/dist/dropi-ui/p-721ef2b1.entry.js +1 -0
- package/dist/dropi-ui/p-72c6e0c4.entry.js +1 -0
- package/dist/dropi-ui/p-72ec96d0.entry.js +1 -0
- package/dist/dropi-ui/p-7450d195.entry.js +1 -0
- package/dist/dropi-ui/p-754aed1c.entry.js +1 -0
- package/dist/dropi-ui/p-7664b8f9.entry.js +1 -0
- package/dist/dropi-ui/p-76fa02a1.entry.js +1 -0
- package/dist/dropi-ui/p-770b0195.entry.js +1 -0
- package/dist/dropi-ui/p-774aab1a.entry.js +1 -0
- package/dist/dropi-ui/p-7822b081.entry.js +1 -0
- package/dist/dropi-ui/p-78282471.entry.js +1 -0
- package/dist/dropi-ui/p-78aa7fb3.entry.js +1 -0
- package/dist/dropi-ui/p-7a25f595.entry.js +1 -0
- package/dist/dropi-ui/p-7bc18f39.entry.js +1 -0
- package/dist/dropi-ui/p-7c0f959f.entry.js +1 -0
- package/dist/dropi-ui/p-7c3aa4bc.entry.js +1 -0
- package/dist/dropi-ui/p-7c5ea4c5.entry.js +1 -0
- package/dist/dropi-ui/p-7e526178.entry.js +1 -0
- package/dist/dropi-ui/p-7e99d4c4.entry.js +1 -0
- package/dist/dropi-ui/p-7f02ae47.entry.js +1 -0
- package/dist/dropi-ui/p-7f0f828d.entry.js +1 -0
- package/dist/dropi-ui/p-7fc195ee.entry.js +1 -0
- package/dist/dropi-ui/p-80f0f6e6.entry.js +1 -0
- package/dist/dropi-ui/p-813678a2.entry.js +1 -0
- package/dist/dropi-ui/p-819d810e.entry.js +1 -0
- package/dist/dropi-ui/p-82909f07.entry.js +1 -0
- package/dist/dropi-ui/p-84019422.entry.js +1 -0
- package/dist/dropi-ui/p-84c63ece.entry.js +1 -0
- package/dist/dropi-ui/p-850b92f0.entry.js +1 -0
- package/dist/dropi-ui/p-85ee6d6a.entry.js +1 -0
- package/dist/dropi-ui/p-8b8dc399.entry.js +1 -0
- package/dist/dropi-ui/p-8c0ff5e6.entry.js +1 -0
- package/dist/dropi-ui/p-8cf27f13.entry.js +1 -0
- package/dist/dropi-ui/p-8d6313c0.entry.js +1 -0
- package/dist/dropi-ui/p-8dbc6bc8.entry.js +1 -0
- package/dist/dropi-ui/p-8fc3dbcb.entry.js +1 -0
- package/dist/dropi-ui/p-90abda79.entry.js +1 -0
- package/dist/dropi-ui/p-928b59e8.entry.js +1 -0
- package/dist/dropi-ui/p-92c9e3c5.entry.js +1 -0
- package/dist/dropi-ui/p-94144382.entry.js +1 -0
- package/dist/dropi-ui/p-94a58087.entry.js +1 -0
- package/dist/dropi-ui/p-95808559.entry.js +1 -0
- package/dist/dropi-ui/p-95b7abf3.entry.js +1 -0
- package/dist/dropi-ui/p-9645d628.entry.js +1 -0
- package/dist/dropi-ui/p-96f72e50.entry.js +1 -0
- package/dist/dropi-ui/p-9b288982.entry.js +1 -0
- package/dist/dropi-ui/p-9b55c8ad.entry.js +1 -0
- package/dist/dropi-ui/p-9bcde3a5.entry.js +1 -0
- package/dist/dropi-ui/p-9c734a8f.entry.js +1 -0
- package/dist/dropi-ui/p-9c7698ef.entry.js +1 -0
- package/dist/dropi-ui/p-9e62ff06.entry.js +1 -0
- package/dist/dropi-ui/p-9e8615de.entry.js +1 -0
- package/dist/dropi-ui/p-B-h7fjQz.js +2 -0
- package/dist/dropi-ui/p-a0ade2e7.entry.js +1 -0
- package/dist/dropi-ui/p-a2fb4CHk.js +2 -0
- package/dist/dropi-ui/p-a3b729fe.entry.js +1 -0
- package/dist/dropi-ui/p-a3c3e479.entry.js +1 -0
- package/dist/dropi-ui/p-a3d602fd.entry.js +1 -0
- package/dist/dropi-ui/p-a470a24a.entry.js +1 -0
- package/dist/dropi-ui/p-a50c8339.entry.js +1 -0
- package/dist/dropi-ui/p-a524ef3d.entry.js +1 -0
- package/dist/dropi-ui/p-a62c691f.entry.js +1 -0
- package/dist/dropi-ui/p-a745529a.entry.js +1 -0
- package/dist/dropi-ui/p-a96c54ed.entry.js +1 -0
- package/dist/dropi-ui/p-aa48e5cb.entry.js +1 -0
- package/dist/dropi-ui/p-ab3c52a4.entry.js +1 -0
- package/dist/dropi-ui/p-abd327ed.entry.js +1 -0
- package/dist/dropi-ui/p-ac79e805.entry.js +1 -0
- package/dist/dropi-ui/p-ac9d2149.entry.js +1 -0
- package/dist/dropi-ui/p-ad73631e.entry.js +1 -0
- package/dist/dropi-ui/p-af1e778b.entry.js +1 -0
- package/dist/dropi-ui/p-b14f6889.entry.js +1 -0
- package/dist/dropi-ui/p-b20f7dde.entry.js +1 -0
- package/dist/dropi-ui/p-b2e7cf4f.entry.js +1 -0
- package/dist/dropi-ui/p-b320ca5a.entry.js +1 -0
- package/dist/dropi-ui/p-b325f7cf.entry.js +1 -0
- package/dist/dropi-ui/p-b605d3d9.entry.js +1 -1
- package/dist/dropi-ui/p-b63f5d03.entry.js +1 -0
- package/dist/dropi-ui/p-b7748488.entry.js +1 -0
- package/dist/dropi-ui/p-b8050ef5.entry.js +1 -0
- package/dist/dropi-ui/p-b99fee29.entry.js +1 -0
- package/dist/dropi-ui/p-ba3779a2.entry.js +1 -0
- package/dist/dropi-ui/p-baac546d.entry.js +1 -0
- package/dist/dropi-ui/p-bb6a2bdd.entry.js +1 -0
- package/dist/dropi-ui/p-bbf374d6.entry.js +1 -0
- package/dist/dropi-ui/p-bd06eb80.entry.js +1 -0
- package/dist/dropi-ui/p-bd0d1a29.entry.js +1 -0
- package/dist/dropi-ui/p-bef43920.entry.js +1 -0
- package/dist/dropi-ui/p-bfd43bdf.entry.js +1 -0
- package/dist/dropi-ui/p-c173db8c.entry.js +1 -0
- package/dist/dropi-ui/p-c1d5d4ab.entry.js +1 -0
- package/dist/dropi-ui/p-c218524f.entry.js +1 -0
- package/dist/dropi-ui/p-c4e24d47.entry.js +1 -0
- package/dist/dropi-ui/p-c4fbbb5a.entry.js +1 -0
- package/dist/dropi-ui/p-c51fcf75.entry.js +1 -0
- package/dist/dropi-ui/p-c662bce3.entry.js +1 -0
- package/dist/dropi-ui/p-c6ac1b6d.entry.js +1 -0
- package/dist/dropi-ui/p-c8d0727a.entry.js +1 -0
- package/dist/dropi-ui/p-ca2e462a.entry.js +1 -0
- package/dist/dropi-ui/p-ca90e108.entry.js +1 -0
- package/dist/dropi-ui/p-caa6ba65.entry.js +1 -0
- package/dist/dropi-ui/p-cb4ad8d2.entry.js +1 -0
- package/dist/dropi-ui/p-cb87d3c7.entry.js +1 -0
- package/dist/dropi-ui/p-cc954850.entry.js +1 -0
- package/dist/dropi-ui/p-cf7cd408.entry.js +1 -0
- package/dist/dropi-ui/p-d02dfc6a.entry.js +1 -0
- package/dist/dropi-ui/p-d11524ca.entry.js +1 -0
- package/dist/dropi-ui/p-d1aeb373.entry.js +1 -1
- package/dist/dropi-ui/p-d384f4e9.entry.js +1 -0
- package/dist/dropi-ui/p-d3f3bb91.entry.js +1 -0
- package/dist/dropi-ui/p-d46f3328.entry.js +1 -0
- package/dist/dropi-ui/p-d693bbb8.entry.js +1 -0
- package/dist/dropi-ui/p-d6b3784b.entry.js +1 -0
- package/dist/dropi-ui/p-d813969b.entry.js +1 -0
- package/dist/dropi-ui/p-d886b045.entry.js +1 -0
- package/dist/dropi-ui/p-d899d4e1.entry.js +1 -0
- package/dist/dropi-ui/p-da038b5d.entry.js +1 -0
- package/dist/dropi-ui/p-db6af92e.entry.js +1 -0
- package/dist/dropi-ui/p-db71d065.entry.js +1 -0
- package/dist/dropi-ui/p-dc920aff.entry.js +1 -0
- package/dist/dropi-ui/p-e1126498.entry.js +1 -0
- package/dist/dropi-ui/p-e163bf7f.entry.js +1 -0
- package/dist/dropi-ui/p-e1b40bda.entry.js +1 -0
- package/dist/dropi-ui/p-e22a3b45.entry.js +1 -0
- package/dist/dropi-ui/p-e36d5e9f.entry.js +1 -0
- package/dist/dropi-ui/p-e40db21a.entry.js +1 -0
- package/dist/dropi-ui/p-e524fed1.entry.js +1 -0
- package/dist/dropi-ui/p-e53b23dd.entry.js +1 -0
- package/dist/dropi-ui/p-e629fdc7.entry.js +1 -0
- package/dist/dropi-ui/p-e97d3704.entry.js +1 -0
- package/dist/dropi-ui/p-e9a64ecc.entry.js +1 -0
- package/dist/dropi-ui/p-ea13bfee.entry.js +1 -0
- package/dist/dropi-ui/p-ebaa1574.entry.js +1 -0
- package/dist/dropi-ui/p-ebb81172.entry.js +1 -0
- package/dist/dropi-ui/p-edcf5623.entry.js +1 -0
- package/dist/dropi-ui/p-edeacd44.entry.js +1 -0
- package/dist/dropi-ui/p-edef4506.entry.js +1 -0
- package/dist/dropi-ui/p-eec49ea3.entry.js +1 -0
- package/dist/dropi-ui/p-f057bd98.entry.js +1 -0
- package/dist/dropi-ui/p-f0893459.entry.js +1 -0
- package/dist/dropi-ui/p-f0ace417.entry.js +1 -0
- package/dist/dropi-ui/p-f1e08f03.entry.js +1 -0
- package/dist/dropi-ui/p-f23e1df7.entry.js +1 -0
- package/dist/dropi-ui/p-f3f27534.entry.js +1 -0
- package/dist/dropi-ui/p-f426e0fc.entry.js +1 -0
- package/dist/dropi-ui/p-f4bd8568.entry.js +1 -0
- package/dist/dropi-ui/p-f6ed3cbb.entry.js +1 -0
- package/dist/dropi-ui/p-f7a605f8.entry.js +1 -0
- package/dist/dropi-ui/p-f7df0f43.entry.js +1 -0
- package/dist/dropi-ui/p-f80fa01d.entry.js +1 -0
- package/dist/dropi-ui/p-f9084a2c.entry.js +1 -0
- package/dist/dropi-ui/p-f9888cea.entry.js +1 -1
- package/dist/dropi-ui/p-f9af2041.entry.js +1 -0
- package/dist/dropi-ui/p-f9d05b69.entry.js +1 -0
- package/dist/dropi-ui/p-faa59cd8.entry.js +1 -0
- package/dist/dropi-ui/p-fb39dfdc.entry.js +1 -0
- package/dist/dropi-ui/p-fcba49ca.entry.js +1 -0
- package/dist/dropi-ui/p-fdbdedd0.entry.js +1 -0
- package/dist/dropi-ui/p-fea1be78.entry.js +1 -0
- package/dist/dropi-ui/p-fef3673d.entry.js +1 -0
- package/dist/dropi-ui/p-ff084c1c.entry.js +1 -0
- package/dist/esm/dropi-accordion-item.entry.js +2 -2
- package/dist/esm/dropi-accordion.entry.js +2 -2
- package/dist/esm/dropi-alert-legacy.entry.js +1 -1
- package/dist/esm/dropi-alert-modal.entry.js +20 -16
- package/dist/esm/dropi-alert.entry.js +12 -12
- package/dist/esm/dropi-avatars.entry.js +1 -1
- package/dist/esm/dropi-badge-legacy.entry.js +2 -2
- package/dist/esm/dropi-badge.entry.js +1 -1
- package/dist/esm/dropi-banner-external.entry.js +3 -3
- package/dist/esm/dropi-breadcrumb.entry.js +2 -2
- package/dist/esm/dropi-button.entry.js +7 -7
- package/dist/esm/dropi-card-checkbox.entry.js +6 -6
- package/dist/esm/dropi-card-product.entry.js +12 -12
- package/dist/esm/dropi-card-section.entry.js +9 -9
- package/dist/esm/dropi-carousel.entry.js +8 -8
- package/dist/esm/dropi-checkbox-selection-list.entry.js +9 -9
- package/dist/esm/dropi-checkbox.entry.js +6 -6
- package/dist/esm/dropi-chips.entry.js +4 -4
- package/dist/esm/dropi-city-selector.entry.js +3 -3
- package/dist/esm/dropi-color-picker.entry.js +4 -4
- package/dist/esm/dropi-country-flags.entry.js +2 -2
- package/dist/esm/dropi-country-selector.entry.js +98 -10
- package/dist/esm/dropi-date-picker-range.entry.js +4 -4
- package/dist/esm/dropi-date-picker.entry.js +12 -12
- package/dist/esm/dropi-drawer.entry.js +5 -5
- package/dist/esm/dropi-dropdown.entry.js +2 -2
- package/dist/esm/dropi-empty-state.entry.js +3 -3
- package/dist/esm/dropi-favorite-button.entry.js +3 -3
- package/dist/esm/dropi-file-upload-progress-bar.entry.js +5 -5
- package/dist/esm/dropi-file-upload.entry.js +3 -3
- package/dist/esm/dropi-icon.entry.js +17 -3
- package/dist/esm/dropi-ilustration-icon.entry.js +5 -5
- package/dist/esm/dropi-image-miniature.entry.js +3 -3
- package/dist/esm/dropi-image-overlay.entry.js +2 -2
- package/dist/esm/dropi-input_3.entry.js +50 -22
- package/dist/esm/dropi-languages-selector.entry.js +4 -4
- package/dist/esm/dropi-logo.entry.js +2 -2
- package/dist/esm/dropi-lottie-loader.entry.js +1 -1
- package/dist/esm/dropi-media-player.entry.js +3 -3
- package/dist/esm/dropi-modal.entry.js +37 -32
- package/dist/esm/dropi-navbar.entry.js +7 -7
- package/dist/esm/dropi-otp-send-code.entry.js +34 -19
- package/dist/esm/dropi-phone-input.entry.js +15 -15
- package/dist/esm/dropi-progress-bar.entry.js +41 -0
- package/dist/esm/dropi-radio-button.entry.js +5 -5
- package/dist/esm/dropi-radio-selection-list.entry.js +9 -9
- package/dist/esm/dropi-read-more.entry.js +2 -2
- package/dist/esm/dropi-search.entry.js +21 -21
- package/dist/esm/dropi-select.entry.js +50 -22
- package/dist/esm/dropi-sidebar.entry.js +6 -6
- package/dist/esm/dropi-simple-stepper.entry.js +1 -1
- package/dist/esm/dropi-skeleton.entry.js +1 -1
- package/dist/esm/dropi-steps.entry.js +1 -1
- package/dist/esm/dropi-switch.entry.js +5 -5
- package/dist/esm/dropi-table.entry.js +38 -30
- package/dist/esm/dropi-tabs.entry.js +5 -5
- package/dist/esm/dropi-tag-type-product.entry.js +2 -2
- package/dist/esm/dropi-text-area.entry.js +7 -7
- package/dist/esm/dropi-time-line.entry.js +2 -2
- package/dist/esm/dropi-toast.entry.js +3 -3
- package/dist/esm/dropi-tooltip-v2.entry.js +4 -4
- package/dist/esm/dropi-tooltip.entry.js +3 -3
- package/dist/esm/dropi-ui.js +3 -3
- package/dist/esm/dropi-vertical-steps.entry.js +3 -3
- package/dist/esm/dropi-youtube-lazy-video.entry.js +2 -2
- package/dist/esm/index-B-h7fjQz.js +2763 -0
- package/dist/esm/index-a2fb4CHk.js +2763 -0
- package/dist/esm/loader.js +3 -3
- package/dist/types/components/dropi-alert/dropi-alert.d.ts +3 -3
- package/dist/types/components/dropi-alert-modal/dropi-alert-modal.d.ts +8 -4
- package/dist/types/components/dropi-button/dropi-button.d.ts +1 -1
- package/dist/types/components/dropi-card-checkbox/dropi-card-checkbox.d.ts +1 -1
- package/dist/types/components/dropi-card-product/dropi-card-product.d.ts +2 -2
- package/dist/types/components/dropi-card-section/dropi-card-section.d.ts +2 -2
- package/dist/types/components/dropi-carousel/dropi-carousel.d.ts +2 -2
- package/dist/types/components/dropi-checkbox/dropi-checkbox.d.ts +1 -1
- package/dist/types/components/dropi-checkbox-selection-list/dropi-checkbox-selection-list.d.ts +2 -2
- package/dist/types/components/dropi-chips/dropi-chips.d.ts +1 -1
- package/dist/types/components/dropi-country-selector/dropi-country-selector.d.ts +11 -1
- package/dist/types/components/dropi-date-picker/dropi-date-picker.d.ts +2 -2
- package/dist/types/components/dropi-icon/dropi-icon.d.ts +4 -0
- package/dist/types/components/dropi-input/dropi-input.d.ts +4 -4
- package/dist/types/components/dropi-languages-selector/dropi-languages-selector.d.ts +1 -1
- package/dist/types/components/dropi-modal/dropi-modal.d.ts +9 -8
- package/dist/types/components/dropi-otp-send-code/dropi-otp-send-code.d.ts +7 -3
- package/dist/types/components/dropi-paginator/dropi-paginator.d.ts +1 -1
- package/dist/types/components/dropi-phone-input/dropi-phone-input.d.ts +4 -4
- package/dist/types/components/dropi-progress-bar/dropi-progress-bar.d.ts +16 -0
- package/dist/types/components/dropi-radio-button/dropi-radio-button.d.ts +1 -1
- package/dist/types/components/dropi-radio-selection-list/dropi-radio-selection-list.d.ts +2 -2
- package/dist/types/components/dropi-search/dropi-search.d.ts +6 -6
- package/dist/types/components/dropi-select/dropi-select.d.ts +10 -5
- package/dist/types/components/dropi-sidebar/dropi-sidebar.d.ts +1 -1
- package/dist/types/components/dropi-switch/dropi-switch.d.ts +1 -1
- package/dist/types/components/dropi-table/dropi-table.d.ts +6 -6
- package/dist/types/components/dropi-tabs/dropi-tabs.d.ts +1 -1
- package/dist/types/components/dropi-tag/dropi-tag.d.ts +5 -0
- package/dist/types/components.d.ts +314 -167
- package/hydrate/index.js +609 -359
- package/hydrate/index.mjs +609 -359
- package/package.json +3 -2
- package/scripts/postinstall.js +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiRadioSelectionListCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.rsl__search{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);margin-bottom:var(--Size-2, 8px)}.rsl__search-input{flex:1;border:none;outline:none;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-700, #32394d);background:transparent}.rsl__list{display:flex;flex-direction:column;gap:var(--Size-2, 8px)}.rsl__item{display:flex;align-items:flex-start;gap:var(--Size-3, 12px);padding:var(--Size-3, 12px);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);cursor:pointer;transition:border-color 0.15s, background 0.15s}.rsl__item:hover{background:var(--Gray-Gray-50, #f7f8fa)}.rsl__item--selected{border-color:var(--Primary-Primary-500, #f49a3d);background:var(--Primary-Primary-50, #fff5eb)}.rsl__radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--Gray-Gray-300, #a3abbf);display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:3px;transition:border-color 0.15s}.rsl__radio--checked{border-color:var(--Primary-Primary-500, #f49a3d)}.rsl__radio-dot{width:8px;height:8px;border-radius:50%;background:var(--Primary-Primary-500, #f49a3d)}.rsl__content{display:flex;flex-direction:column;gap:2px}.rsl__name{font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d)}.rsl__desc{font-size:var(--font-size-xs, 10px);line-height:1.4;color:var(--Gray-Gray-500, #69738c)}`;
|
|
6
6
|
|
|
7
7
|
const DropiRadioSelectionList = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
|
-
this.
|
|
11
|
-
this.
|
|
10
|
+
this.dropiChange = index.createEvent(this, "dropiChange");
|
|
11
|
+
this.dropiSearch = index.createEvent(this, "dropiSearch");
|
|
12
12
|
}
|
|
13
13
|
/** Options array or JSON string */
|
|
14
14
|
options = [];
|
|
@@ -27,9 +27,9 @@ const DropiRadioSelectionList = class {
|
|
|
27
27
|
filterText = '';
|
|
28
28
|
parsedOptions = [];
|
|
29
29
|
/** Emitted on selection change. e.detail = selected option id */
|
|
30
|
-
|
|
30
|
+
dropiChange;
|
|
31
31
|
/** Emitted on search — matches Angular 'onSearch' */
|
|
32
|
-
|
|
32
|
+
dropiSearch;
|
|
33
33
|
optionsChanged(val) {
|
|
34
34
|
this.parsedOptions = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
35
35
|
}
|
|
@@ -41,12 +41,12 @@ const DropiRadioSelectionList = class {
|
|
|
41
41
|
return this.parsedOptions.filter(o => o.name?.toLowerCase().includes(q));
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (index.h("div", { key: '
|
|
44
|
+
return (index.h("div", { key: '296bdc955d13b8163ca954f6d399543343e7e121', class: "rsl" }, this.showFilter && (index.h("div", { key: '4cdd3764411f389d2b6ce1145f5b6759bb20fc7b', class: "rsl__search" }, index.h("dropi-icon", { key: '81af80a3dddb6176625b6ba575b084501741cd81', name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), index.h("input", { key: 'aa0e762f4403431225375f95c792af8596529588', class: "rsl__search-input", type: "text", placeholder: this.filterPlaceholder, value: this.filterText, onInput: (e) => {
|
|
45
45
|
this.filterText = e.target.value;
|
|
46
|
-
this.
|
|
47
|
-
} }))), index.h("div", { key: '
|
|
46
|
+
this.dropiSearch.emit({ searchValue: this.filterText, filteredOptions: this.filtered });
|
|
47
|
+
} }))), index.h("div", { key: 'd153875a1c09957b74648f61f70320968ea6cd40', class: "rsl__list" }, this.filtered.map(opt => {
|
|
48
48
|
const isSelected = opt.id === this.selectedOption;
|
|
49
|
-
return (index.h("div", { class: { 'rsl__item': true, 'rsl__item--selected': isSelected }, key: opt.id, onClick: () => { this.selectedOption = opt.id; this.
|
|
49
|
+
return (index.h("div", { class: { 'rsl__item': true, 'rsl__item--selected': isSelected }, key: opt.id, onClick: () => { this.selectedOption = opt.id; this.dropiChange.emit(opt.id); } }, index.h("div", { class: { 'rsl__radio': true, 'rsl__radio--checked': isSelected } }, isSelected && index.h("div", { class: "rsl__radio-dot" })), index.h("div", { class: "rsl__content" }, index.h("span", { class: "rsl__name" }, opt.name), (isSelected || this.alwaysShowDescription) && opt.description && (index.h("span", { class: "rsl__desc" }, opt.description)))));
|
|
50
50
|
}))));
|
|
51
51
|
}
|
|
52
52
|
static get watchers() { return {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiReadMoreCss = () => `:host{display:block}.read-more__text{margin:0;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-800, #1f2433);line-height:1.5}.read-more__toggle{all:unset;display:inline;font-size:var(--font-size-s, 12px);font-family:inherit;font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-600);cursor:pointer}.read-more__toggle:hover{color:var(--Primary-Primary-600, #d4872e)}`;
|
|
6
6
|
|
|
@@ -32,7 +32,7 @@ const DropiReadMore = class {
|
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
34
|
const showToggle = this.needsTruncation && (this.expanded ? this.showSeeLess : true);
|
|
35
|
-
return (index.h("div", { key: '
|
|
35
|
+
return (index.h("div", { key: '6accf9aa0a6f7377c7de6e8cbcb9e2a7ee99573a', class: "read-more" }, index.h("p", { key: '96e5493df8b065008f9bc45cea1ba768eabfc0a2', class: "read-more__text", style: this.textStyle ? this.textStyle : undefined }, this.displayText, showToggle && (index.h("button", { key: '195d962715c5c618701c3e86df618289915e3a9b', class: "read-more__toggle", style: this.buttonStyle ? this.buttonStyle : undefined, onClick: () => this.expanded = !this.expanded }, this.expanded ? ' Ver menos' : '... Ver más')))));
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
DropiReadMore.style = dropiReadMoreCss();
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiSearchCss = () => `:host{display:block;width:100%;position:relative}*,*::before,*::after{box-sizing:border-box}.search-label{display:block;font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-600, #475066);margin-bottom:4px}.search-input-row{position:relative;display:flex;align-items:center;width:100%}.search-icon{position:absolute;left:10px;pointer-events:none;z-index:1}.search-input{width:100%;height:40px;padding:0 36px 0 34px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-700, #32394d);outline:none;transition:border-color 0.2s}.search-input:focus{border-color:var(--Info-Info-500, #50a5f1)}.search-input::placeholder{color:var(--Gray-Gray-400, #858ea6)}.search-clear{position:absolute;right:10px;display:flex;align-items:center;background:none;border:none;padding:0;cursor:pointer;z-index:1}.search-dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;max-height:var(--dropdown-height, 240px);overflow-y:auto;background:var(--Neutral-White, #ffffff);border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);box-shadow:0 4px 16px rgba(0, 0, 0, 0.08);z-index:100}.search-option{display:flex;align-items:center;gap:var(--Size-2, 8px);padding:var(--Size-2, 8px) var(--Size-3, 12px);cursor:pointer;transition:background 0.15s;user-select:none}.search-option:hover{background:var(--Gray-Gray-50, #f7f8fa)}.search-option--selected{background:var(--Primary-Primary-50, #fff5eb)}.search-option__label{flex:1;font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-700, #32394d);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-no-results{padding:var(--Size-3, 12px);font-size:var(--font-size-s, 12px);color:var(--Gray-Gray-400, #858ea6);text-align:center}`;
|
|
6
6
|
|
|
7
7
|
const DropiSearch = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
|
-
this.
|
|
11
|
-
this.
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
15
|
-
this.
|
|
10
|
+
this.dropiInput = index.createEvent(this, "dropiInput");
|
|
11
|
+
this.dropiBlur = index.createEvent(this, "dropiBlur");
|
|
12
|
+
this.dropiKeyEnter = index.createEvent(this, "dropiKeyEnter");
|
|
13
|
+
this.dropiChange = index.createEvent(this, "dropiChange");
|
|
14
|
+
this.dropiClear = index.createEvent(this, "dropiClear");
|
|
15
|
+
this.dropiModelChange = index.createEvent(this, "dropiModelChange");
|
|
16
16
|
}
|
|
17
17
|
/** Visual variant (matches Angular `type`) */
|
|
18
18
|
type = 'default';
|
|
@@ -46,17 +46,17 @@ const DropiSearch = class {
|
|
|
46
46
|
selected = [];
|
|
47
47
|
parsedOptions = [];
|
|
48
48
|
/** Emitted on input change. e.detail = current text */
|
|
49
|
-
|
|
49
|
+
dropiInput;
|
|
50
50
|
/** Emitted on blur */
|
|
51
|
-
|
|
51
|
+
dropiBlur;
|
|
52
52
|
/** Emitted when Enter is pressed. e.detail = current text */
|
|
53
|
-
|
|
53
|
+
dropiKeyEnter;
|
|
54
54
|
/** Emitted on change event of the native input (matches Angular `onChange`) */
|
|
55
|
-
|
|
55
|
+
dropiChange;
|
|
56
56
|
/** Emitted when clear button clicked */
|
|
57
|
-
|
|
57
|
+
dropiClear;
|
|
58
58
|
/** Emitted when selection changes. e.detail = selected items */
|
|
59
|
-
|
|
59
|
+
dropiModelChange;
|
|
60
60
|
optionsChanged(val) {
|
|
61
61
|
this.parsedOptions = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
62
62
|
}
|
|
@@ -72,20 +72,20 @@ const DropiSearch = class {
|
|
|
72
72
|
handleInput(e) {
|
|
73
73
|
this.textInput = e.target.value;
|
|
74
74
|
this.open = this.parsedOptions.length > 0;
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
75
|
+
this.dropiInput.emit(this.textInput);
|
|
76
|
+
this.dropiChange.emit(this.textInput);
|
|
77
77
|
}
|
|
78
78
|
handleKeyDown(e) {
|
|
79
79
|
if (e.key === 'Enter')
|
|
80
|
-
this.
|
|
80
|
+
this.dropiKeyEnter.emit(this.textInput);
|
|
81
81
|
if (e.key === 'Escape')
|
|
82
82
|
this.open = false;
|
|
83
83
|
}
|
|
84
84
|
handleClear() {
|
|
85
85
|
this.textInput = '';
|
|
86
86
|
this.open = false;
|
|
87
|
-
this.
|
|
88
|
-
this.
|
|
87
|
+
this.dropiClear.emit();
|
|
88
|
+
this.dropiInput.emit('');
|
|
89
89
|
}
|
|
90
90
|
isSelected(opt) {
|
|
91
91
|
return this.selected.some(s => s[this.dataName] === opt[this.dataName]);
|
|
@@ -104,14 +104,14 @@ const DropiSearch = class {
|
|
|
104
104
|
this.selected = [opt];
|
|
105
105
|
this.open = false;
|
|
106
106
|
}
|
|
107
|
-
this.
|
|
107
|
+
this.dropiModelChange.emit(this.selected);
|
|
108
108
|
}
|
|
109
109
|
render() {
|
|
110
110
|
const showDropdown = this.open && this.parsedOptions.length > 0;
|
|
111
|
-
return (index.h("div", { key: '
|
|
111
|
+
return (index.h("div", { key: '594b15b4b31044f4a02376dc773ea36da893d773', class: "search-wrap" }, this.label && index.h("label", { key: '297a989441ad892715b09421f9a53618851c1b52', class: "search-label" }, this.label), index.h("div", { key: '6bbaf4ea5c1bc6ff831626117fccde647e68ba19', class: `search-input-row search-input-row--${this.type}` }, this.showIcon && index.h("dropi-icon", { key: 'e94c3a3895a14e950a018023d5d7a281a230abae', class: "search-icon", name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), index.h("input", { key: '820bf2f4c9ecaf9907aceaaa08bd3fa309606e90', class: "search-input", type: this.typeInput, placeholder: this.placeholder, value: this.textInput, maxLength: this.maxLength, onInput: (e) => this.handleInput(e), onKeyDown: (e) => this.handleKeyDown(e), onFocus: () => {
|
|
112
112
|
if (this.parsedOptions.length)
|
|
113
113
|
this.open = true;
|
|
114
|
-
}, onBlur: () => { setTimeout(() => this.open = false, 150); this.
|
|
114
|
+
}, onBlur: () => { setTimeout(() => this.open = false, 150); this.dropiBlur.emit(); } }), this.showClear && this.textInput && (index.h("button", { key: 'e2fd7c3d5fee45a83f030589f58d4fee9f3af69c', class: "search-clear", onClick: () => this.handleClear(), "aria-label": "Limpiar" }, index.h("dropi-icon", { key: 'a530b0adb83d76b205cd2b22792f14229950836e', name: "Close-small", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" })))), showDropdown && (index.h("div", { key: '8c062d43dccb41c84b2a599ed6d1a5e049a75b65', class: `search-dropdown search-dropdown--${this.position}`, style: { '--dropdown-height': `${this.heightOverlay}px` } }, this.filtered.length === 0 ? (index.h("div", { class: "search-no-results" }, "Sin resultados")) : (this.filtered.map((opt, i) => (index.h("div", { class: { 'search-option': true, 'search-option--selected': this.isSelected(opt) }, key: i, onMouseDown: (e) => { e.preventDefault(); this.selectOption(opt); } }, this.multipleSelectModel && index.h("dropi-checkbox", { checked: this.isSelected(opt) }), index.h("span", { class: "search-option__label" }, opt[this.dataName])))))))));
|
|
115
115
|
}
|
|
116
116
|
static get watchers() { return {
|
|
117
117
|
"dataToSearch": [{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
|
-
const dropiSelectCss = () => `:host{display:block;width:100%;text-align:left}*,*::before,*::after{box-sizing:border-box}.custom-select{position:relative;width:100%}.custom-select label{display:block;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-600, #475066)}.disabled-label{color:var(--Gray-Gray-400, #858ea6) !important}.asterisk{color:var(--Error-Error-500, #f46a6b)}.dropdown-container{display:flex;align-items:center;gap:4px}.left-label{color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-m, 14px);white-space:nowrap}.select-button{box-sizing:border-box;width:100%;height:40px;padding:0 0.75rem;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-s, 12px);font-family:inherit;display:flex;justify-content:space-between;align-items:center;text-align:left;cursor:pointer;transition:border-color 0.2s ease;gap:8px}.select-button:focus{outline:none;border-color:var(--Info-Info-500, #50a5f1)}.select-button:disabled{border-color:var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6);background-color:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed}.select-completed{border-color:var(--Gray-Gray-400, #858ea6);color:var(--Gray-Gray-600, #475066)}.select-button-error{border-color:var(--Error-Error-500, #f46a6b) !important}.no-border{border:none !important;color:var(--Gray-Gray-600, #475066);padding:var(--Size-4, 16px);background-color:transparent !important;gap:var(--Size-2, 8px)}.no-border:disabled{background-color:transparent !important}.button-content{display:flex;align-items:center;gap:8px;overflow:hidden;flex:1;min-width:0}.elipsis{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-dropdown-overlay{position:fixed;max-height:250px;overflow-y:auto;list-style:none;padding:var(--Size-4, 16px) var(--Size-4, 16px) var(--Size-3, 12px);margin:0;border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);box-shadow:0px 8px 24px rgba(0, 0, 0, 0.12);z-index:
|
|
5
|
+
const dropiSelectCss = () => `:host{display:block;width:100%;text-align:left}*,*::before,*::after{box-sizing:border-box}.custom-select{position:relative;width:100%}.custom-select label{display:block;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-regular, 400);color:var(--Gray-Gray-600, #475066)}.disabled-label{color:var(--Gray-Gray-400, #858ea6) !important}.asterisk{color:var(--Error-Error-500, #f46a6b)}.dropdown-container{display:flex;align-items:center;gap:4px}.left-label{color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-m, 14px);white-space:nowrap}.select-button{box-sizing:border-box;width:100%;height:40px;padding:0 0.75rem;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);color:var(--Gray-Gray-500, #69738c);font-size:var(--font-size-s, 12px);font-family:inherit;display:flex;justify-content:space-between;align-items:center;text-align:left;cursor:pointer;transition:border-color 0.2s ease;gap:8px}.select-button:focus{outline:none;border-color:var(--Info-Info-500, #50a5f1)}.select-button:disabled{border-color:var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6);background-color:var(--Gray-Gray-50, #f7f8fa);cursor:not-allowed}.select-completed{border-color:var(--Gray-Gray-400, #858ea6);color:var(--Gray-Gray-600, #475066)}.select-button-error{border-color:var(--Error-Error-500, #f46a6b) !important}.no-border{border:none !important;color:var(--Gray-Gray-600, #475066);padding:var(--Size-4, 16px);background-color:transparent !important;gap:var(--Size-2, 8px)}.no-border:disabled{background-color:transparent !important}.button-content{display:flex;align-items:center;gap:8px;overflow:hidden;flex:1;min-width:0}.elipsis{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select-dropdown-overlay{position:fixed;max-height:250px;overflow-y:auto;list-style:none;padding:var(--Size-4, 16px) var(--Size-4, 16px) var(--Size-3, 12px);margin:0;border-radius:var(--Border-2, 8px);background:var(--Neutral-White, #ffffff);box-shadow:0px 8px 24px rgba(0, 0, 0, 0.12);z-index:var(--dropi-z-index-overlay, 11000);animation:dropdown-open 120ms ease-out}.select-dropdown-overlay.within-modal{position:absolute}@keyframes dropdown-open{from{opacity:0;transform:scaleY(0.95);transform-origin:top}to{opacity:1;transform:scaleY(1);transform-origin:top}}.option{box-sizing:border-box;width:100%;min-height:40px;border-radius:var(--Border-2, 8px);padding:var(--Size-3, 12px) var(--Size-4, 16px);border:none;background:transparent;text-align:left;color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-s, 12px);font-family:inherit;cursor:pointer;display:flex;align-items:center;gap:var(--Size-2, 8px);transition:background 0.15s ease}.option:hover:not(:disabled){background:var(--Gray-Gray-50, #f7f8fa)}.option:disabled,.disabled-option{opacity:0.5;cursor:not-allowed}.option.selected-option:not(.option-radio){background:var(--Primary-Primary-50, #fef8f2);color:var(--Primary-Primary-500, #f49a3d)}.option-group-title{padding:var(--Size-3, 12px) var(--Size-4, 16px);font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-medium, 500);color:var(--Gray-Gray-500, #69738c);list-style:none}.option-group{padding-left:var(--Size-6, 32px)}.sticky-search{position:sticky;top:calc(-1 * var(--Size-4, 16px));background:var(--Neutral-White, #ffffff);z-index:10;margin:calc(-1 * var(--Size-4, 16px)) calc(-1 * var(--Size-4, 16px)) 0;padding:var(--Size-2, 8px) var(--Size-4, 16px);border-bottom:1px solid var(--Gray-Gray-100, #e6eaf2);list-style:none}.search-wrapper{display:flex;align-items:center;gap:8px;border:1px solid var(--Gray-Gray-200, #c3c9d9);border-radius:var(--Border-2, 8px);padding:6px 10px;background:var(--Neutral-White, #ffffff)}.search-input{flex:1;border:none;outline:none;font-size:var(--font-size-s, 12px);font-family:inherit;color:var(--Gray-Gray-700, #32394d);background:transparent}.search-input::placeholder{color:var(--Gray-Gray-400, #858ea6)}.search-clear{background:none;border:none;cursor:pointer;padding:0;display:flex;align-items:center}.multi-checkbox{width:18px;height:18px;min-width:18px;border-radius:var(--Border-1, 4px);border:2px solid var(--Gray-Gray-200, #c3c9d9);display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background 0.15s, border-color 0.15s}.multi-checkbox.checked{background:var(--Primary-Primary-500, #f49a3d);border-color:var(--Primary-Primary-500, #f49a3d)}.option-radio{display:flex;align-items:center;gap:12px}.option-radio.selected-option{border-radius:var(--Border-2, 8px);background:var(--Primary-Primary-50, #fef8f2);color:var(--Primary-Primary-500, #f49a3d)}.option-radio.selected-option .option-second-label{color:var(--Primary-Primary-500, #f49a3d)}.radio{width:20px;height:20px;min-width:20px;border-radius:50%;border:2px solid var(--Gray-Gray-200, #c3c9d9);display:flex;align-items:center;justify-content:center;flex-shrink:0}.radio.selected{border-color:var(--Primary-Primary-500, #f49a3d)}.circle{width:12px;height:12px;border-radius:50%;background:var(--Primary-Primary-500, #f49a3d)}.labels-container{display:flex;justify-content:space-between;width:100%;min-width:0}.option-image{width:24px;height:24px;border-radius:60px;object-fit:cover;flex-shrink:0}.small-image{width:20px;height:20px}.option-image-fallback{width:24px;height:24px;border-radius:60px;background:var(--Primary-Primary-500, #f49a3d);color:white;font-size:13px;font-weight:var(--font-weight-bold);display:flex;justify-content:center;align-items:center;flex-shrink:0}.small-image.option-image-fallback{width:20px;height:20px}.option-second-label{color:var(--Gray-Gray-700, #32394d);font-weight:var(--font-weight-bold);white-space:nowrap}.flag-placeholder{font-size:11px;font-weight:var(--font-weight-semibold);color:var(--Gray-Gray-500, #69738c);flex-shrink:0}.select-helper,.select-helper-error{display:flex;gap:var(--Size-1, 4px);align-items:center;margin-top:var(--Size-1, 4px)}.select-helper span{color:var(--Gray-Gray-600, #475066);font-size:var(--font-size-xs, 10px)}.select-helper-error span{color:var(--Error-Error-500, #f46a6b);font-size:var(--font-size-xs, 10px)}.no-results{padding:var(--Size-3, 12px) var(--Size-4, 16px);color:var(--Gray-Gray-400, #858ea6);font-size:var(--font-size-s, 12px);list-style:none;text-align:center}`;
|
|
6
6
|
|
|
7
7
|
const DropiSelect = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
|
-
this.
|
|
11
|
-
this.
|
|
12
|
-
this.
|
|
13
|
-
this.
|
|
14
|
-
this.
|
|
10
|
+
this.dropiChangeSelect = index.createEvent(this, "dropiChangeSelect");
|
|
11
|
+
this.dropiClear = index.createEvent(this, "dropiClear");
|
|
12
|
+
this.dropiSearch = index.createEvent(this, "dropiSearch");
|
|
13
|
+
this.dropiScrollEnd = index.createEvent(this, "dropiScrollEnd");
|
|
14
|
+
this.dropiKeyEnter = index.createEvent(this, "dropiKeyEnter");
|
|
15
15
|
if (hostRef.$hostElement$["s-ei"]) {
|
|
16
16
|
this.internals = hostRef.$hostElement$["s-ei"];
|
|
17
17
|
}
|
|
@@ -57,6 +57,8 @@ const DropiSelect = class {
|
|
|
57
57
|
selectedOption = null;
|
|
58
58
|
/** Custom CSS class for the dropdown overlay */
|
|
59
59
|
overlayClass = '';
|
|
60
|
+
/** If true, uses absolute positioning instead of fixed (better for modals with transforms) */
|
|
61
|
+
withinModal = false;
|
|
60
62
|
/**
|
|
61
63
|
* Convenience object prop — matches Angular `selectProperties: SelectProperties`.
|
|
62
64
|
* Fields: label, placeholder, options, showObligatory, textHelper,
|
|
@@ -76,15 +78,15 @@ const DropiSelect = class {
|
|
|
76
78
|
};
|
|
77
79
|
// ── Events ───────────────────────────────────────────────────
|
|
78
80
|
/** Emitted when an option is selected — matches Angular 'onChangeSelect' */
|
|
79
|
-
|
|
81
|
+
dropiChangeSelect;
|
|
80
82
|
/** Emitted when the selection is cleared — matches Angular 'onClear' */
|
|
81
|
-
|
|
83
|
+
dropiClear;
|
|
82
84
|
/** Emitted on search input — matches Angular 'onSearch' */
|
|
83
|
-
|
|
85
|
+
dropiSearch;
|
|
84
86
|
/** Emitted when the list is scrolled to the end — matches Angular 'scrolledToEnd' */
|
|
85
|
-
|
|
87
|
+
dropiScrollEnd;
|
|
86
88
|
/** Emitted on Enter key inside search — matches Angular 'onKeyEnter' */
|
|
87
|
-
|
|
89
|
+
dropiKeyEnter;
|
|
88
90
|
// ── Lifecycle ────────────────────────────────────────────────
|
|
89
91
|
componentWillLoad() {
|
|
90
92
|
if (this.selectProperties)
|
|
@@ -165,13 +167,27 @@ const DropiSelect = class {
|
|
|
165
167
|
this._selectedOption = null;
|
|
166
168
|
this.multiSelected = [];
|
|
167
169
|
this.internals.setFormValue('');
|
|
168
|
-
this.
|
|
170
|
+
this.dropiClear.emit();
|
|
169
171
|
}
|
|
170
172
|
/** Reset multi-select state and show a placeholder label */
|
|
171
173
|
async resetMultiSelect(_placeholder) {
|
|
172
174
|
this.multiSelected = [];
|
|
173
175
|
this.internals.setFormValue('');
|
|
174
176
|
}
|
|
177
|
+
// ── Scroll & Resize listeners ──────────────────────────────
|
|
178
|
+
handleWindowScroll(e) {
|
|
179
|
+
if (!this.isOpen || this.withinModal)
|
|
180
|
+
return;
|
|
181
|
+
// When scroll originates inside shadow DOM, e.target is retargeted to the host element
|
|
182
|
+
if (e.target === this.el)
|
|
183
|
+
return;
|
|
184
|
+
this.closeDropdown();
|
|
185
|
+
}
|
|
186
|
+
handleWindowResize() {
|
|
187
|
+
if (this.isOpen && !this.withinModal) {
|
|
188
|
+
this.closeDropdown();
|
|
189
|
+
}
|
|
190
|
+
}
|
|
175
191
|
// ── Click outside ────────────────────────────────────────────
|
|
176
192
|
handleOutsideClick(e) {
|
|
177
193
|
if (this.isOpen && !e.composedPath().includes(this.el)) {
|
|
@@ -215,8 +231,8 @@ const DropiSelect = class {
|
|
|
215
231
|
return this.placeholder;
|
|
216
232
|
}
|
|
217
233
|
// ── Dropdown positioning ─────────────────────────────────────
|
|
218
|
-
|
|
219
|
-
if (this.
|
|
234
|
+
updateDropdownPosition() {
|
|
235
|
+
if (!this.buttonRef)
|
|
220
236
|
return;
|
|
221
237
|
const rect = this.buttonRef.getBoundingClientRect();
|
|
222
238
|
const viewportHeight = window.innerHeight;
|
|
@@ -230,6 +246,18 @@ const DropiSelect = class {
|
|
|
230
246
|
left: `${rect.left}px`,
|
|
231
247
|
width: `${rect.width}px`,
|
|
232
248
|
};
|
|
249
|
+
}
|
|
250
|
+
openDropdown() {
|
|
251
|
+
if (this.withinModal) {
|
|
252
|
+
this.dropdownStyle = {
|
|
253
|
+
top: `${this.el.offsetHeight}px`,
|
|
254
|
+
left: '0px',
|
|
255
|
+
width: '100%',
|
|
256
|
+
};
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
this.updateDropdownPosition();
|
|
260
|
+
}
|
|
233
261
|
this.isOpen = true;
|
|
234
262
|
if (this.searchEnabled) {
|
|
235
263
|
setTimeout(() => {
|
|
@@ -259,12 +287,12 @@ const DropiSelect = class {
|
|
|
259
287
|
this.multiSelected = [...this.multiSelected, option];
|
|
260
288
|
}
|
|
261
289
|
this.internals.setFormValue(this.multiSelected.map(o => o.id).join(','));
|
|
262
|
-
this.
|
|
290
|
+
this.dropiChangeSelect.emit([...this.multiSelected]);
|
|
263
291
|
}
|
|
264
292
|
else {
|
|
265
293
|
this._selectedOption = option;
|
|
266
294
|
this.internals.setFormValue(String(option.id));
|
|
267
|
-
this.
|
|
295
|
+
this.dropiChangeSelect.emit(option);
|
|
268
296
|
this.closeDropdown();
|
|
269
297
|
}
|
|
270
298
|
}
|
|
@@ -274,7 +302,7 @@ const DropiSelect = class {
|
|
|
274
302
|
// ── Search ───────────────────────────────────────────────────
|
|
275
303
|
handleSearch(term) {
|
|
276
304
|
this.searchTerm = term;
|
|
277
|
-
this.
|
|
305
|
+
this.dropiSearch.emit(term);
|
|
278
306
|
const lower = term.toLowerCase().trim();
|
|
279
307
|
if (!lower) {
|
|
280
308
|
this.filteredOptions = [...this.options];
|
|
@@ -302,7 +330,7 @@ const DropiSelect = class {
|
|
|
302
330
|
this.hasEmittedScrollEnd = false;
|
|
303
331
|
this.lastScrollTop = el.scrollTop;
|
|
304
332
|
if (distFromBottom <= threshold && !this.hasEmittedScrollEnd) {
|
|
305
|
-
this.
|
|
333
|
+
this.dropiScrollEnd.emit();
|
|
306
334
|
this.hasEmittedScrollEnd = true;
|
|
307
335
|
setTimeout(() => { this.hasEmittedScrollEnd = false; }, 1000);
|
|
308
336
|
}
|
|
@@ -350,16 +378,16 @@ const DropiSelect = class {
|
|
|
350
378
|
renderDropdown() {
|
|
351
379
|
if (!this.isOpen)
|
|
352
380
|
return null;
|
|
353
|
-
return (index.h("ul", { class: `select-dropdown-overlay ${this.overlayClass}`, style: this.dropdownStyle, onScroll: (e) => this.handleScroll(e) }, this.searchEnabled && (index.h("li", { class: "sticky-search" }, index.h("div", { class: "search-wrapper" }, index.h("dropi-icon", { name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), index.h("input", { class: "search-input", type: "text", placeholder: this.placeHolderSearch, value: this.searchTerm, onInput: (e) => this.handleSearch(e.target.value), onKeyDown: (e) => {
|
|
381
|
+
return (index.h("ul", { class: `select-dropdown-overlay ${this.overlayClass} ${this.withinModal ? 'within-modal' : ''}`, style: this.dropdownStyle, onScroll: (e) => this.handleScroll(e) }, this.searchEnabled && (index.h("li", { class: "sticky-search" }, index.h("div", { class: "search-wrapper" }, index.h("dropi-icon", { name: "Search", iconWidth: "16px", iconHeight: "16px", color: "Gray-Gray-400" }), index.h("input", { class: "search-input", type: "text", placeholder: this.placeHolderSearch, value: this.searchTerm, onInput: (e) => this.handleSearch(e.target.value), onKeyDown: (e) => {
|
|
354
382
|
if (e.key === 'Enter')
|
|
355
|
-
this.
|
|
383
|
+
this.dropiKeyEnter.emit(e);
|
|
356
384
|
} }), this.searchTerm && (index.h("button", { type: "button", class: "search-clear", onClick: () => this.handleSearch('') }, index.h("dropi-icon", { name: "Close", iconWidth: "14px", iconHeight: "14px", color: "Gray-Gray-400" })))))), this.isGrouped && this.filteredOptions.map(group => [
|
|
357
385
|
index.h("li", { class: "option-group-title" }, group.category),
|
|
358
386
|
...group.options.map(opt => (index.h("li", { key: opt.id }, index.h("button", { type: "button", class: { option: true, 'option-group': true, 'disabled-option': !!opt.disabled }, disabled: opt.disabled, onClick: () => this.selectOption(opt) }, opt.preIcon && index.h("dropi-icon", { name: opt.preIcon, iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-500" }), index.h("span", { class: "elipsis" }, opt.label))))),
|
|
359
387
|
]), !this.isGrouped && this.filteredOptions.map(opt => this.renderOption(opt)), this.filteredOptions.length === 0 && (index.h("li", { class: "no-results" }, "Sin resultados"))));
|
|
360
388
|
}
|
|
361
389
|
render() {
|
|
362
|
-
return (index.h("div", { key: '
|
|
390
|
+
return (index.h("div", { key: '4f34c329d9993926758230f0e9ca0f8d0e57ef6e', class: "custom-select" }, !this.dropdownType && this.label && (index.h("label", { key: '743013592658ee415d4a9e3db8ec648472a3428e', class: { 'disabled-label': this.disabled } }, this.label, this.showObligatory && !this.disabled && index.h("span", { key: '56183248733eb18956664c859c8f7d4057f3fa11', class: "asterisk" }, " *"))), index.h("div", { key: 'c93f45456478ac5419d542512092e877a04f28b7', class: "dropdown-container" }, this.dropdownType && this.label && (index.h("div", { key: '0632779b9ba71f1fb91944b54b477999f607a3f5', class: "left-label" }, this.label)), this.renderTrigger()), this.textHelper && !this.hasError && (index.h("div", { key: '3e57fc2b53715abb9800db573119cf77b0333d37', class: "select-helper" }, index.h("span", { key: 'baf3d1f0ae4d535acae2a08df8d2079996afdcff' }, this.textHelper))), this.hasError && this.errorText && (index.h("div", { key: '8b25aae92b9370a02fcfd81f50b98df145d3cb0e', class: "select-helper-error" }, index.h("dropi-icon", { key: '60643f0b7e54f8533dc9fd7dd17715aec59d851c', name: "Warning-circle", iconWidth: "12px", iconHeight: "12px", color: "Error-Error-500" }), index.h("span", { key: '35bcdfd3c9825cbac269b1085d4c552df694f33a' }, this.errorText))), this.renderDropdown()));
|
|
363
391
|
}
|
|
364
392
|
static get formAssociated() { return true; }
|
|
365
393
|
static get watchers() { return {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiSidebarCss = () => `:host{display:block}.main-sidebar-container{margin-top:20px}.sidebar-option{height:45px;display:flex;align-items:center;position:relative;font-weight:var(--font-weight-medium, 500);gap:var(--Size-3, 12px);padding:var(--Size-3, 12px);font-size:var(--font-size-s, 12px);border-radius:var(--Border-1, 4px);min-width:147px;cursor:pointer;user-select:none}.sidebar-option .arrow{position:absolute;right:17px;transition:transform 0.3s ease}.sidebar-option .arrow-expanded{transform:rotate(180deg)}.sidebar-default-option{color:var(--Gray-Gray-500, #68738f)}.sidebar-active-option{color:var(--Primary-Primary-500, #f49a3d);background-color:#fef8f1}.sidebar-sub-item{overflow:hidden;max-height:0;height:auto;font-weight:var(--font-weight-medium, 500);gap:var(--Size-3, 12px);font-size:var(--font-size-s, 12px);cursor:pointer;opacity:0;padding:0 var(--Size-3, 12px) 0 var(--Size-8, 32px);transition:max-height 0.3s ease-out, opacity 0.3s ease-out, padding 0.3s ease-out;user-select:none}.sidebar-sub-item.sidebar-expanded{max-height:200px;opacity:1;padding:var(--Size-3, 12px) var(--Size-3, 12px) var(--Size-3, 12px) var(--Size-8, 32px)}.sidebar-sub-item-default{color:var(--Gray-Gray-500, #68738f)}.sidebar-sub-item-active{color:var(--Primary-Primary-500, #f49a3d)}.space-between{justify-content:space-between}`;
|
|
6
6
|
|
|
7
7
|
const DropiSidebar = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
|
-
this.
|
|
10
|
+
this.dropiIndexChange = index.createEvent(this, "dropiIndexChange");
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* Define las propiedades y la cantidad de elementos a renderizar.
|
|
@@ -17,7 +17,7 @@ const DropiSidebar = class {
|
|
|
17
17
|
/**
|
|
18
18
|
* Evento emitido cuando se selecciona una opción en el menú o un sub-hijo.
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
dropiIndexChange;
|
|
21
21
|
parsedProperties = [];
|
|
22
22
|
watchPropHandler(newValue) {
|
|
23
23
|
this.parsedProperties = typeof newValue === 'string' ? JSON.parse(newValue) : (newValue || []);
|
|
@@ -37,16 +37,16 @@ const DropiSidebar = class {
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
onItemClick(itemClicked) {
|
|
40
|
-
this.
|
|
40
|
+
this.dropiIndexChange.emit(itemClicked);
|
|
41
41
|
if (itemClicked.subItems && itemClicked.subItems.length > 0) {
|
|
42
42
|
this.setExpandedPropertie(itemClicked.id);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
onSubItemClick(itemClicked) {
|
|
46
|
-
this.
|
|
46
|
+
this.dropiIndexChange.emit(itemClicked);
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (index.h("div", { key: '
|
|
49
|
+
return (index.h("div", { key: '3e45416a116488871747c54c14cbb73ecf1d9a4d', class: "main-sidebar-container" }, this.parsedProperties.map(item => {
|
|
50
50
|
return [
|
|
51
51
|
/* Item Principal */
|
|
52
52
|
index.h("div", { class: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiSimpleStepperCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.stepper{display:flex;align-items:flex-start;width:100%}.stepper__item{display:flex;flex-direction:column;align-items:center;flex:1}.stepper__circle-row{display:flex;align-items:center;width:100%}.stepper__circle{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:background 0.2s, border-color 0.2s}.stepper__circle--pending{background:var(--Gray-Gray-100, #e6eaf2);border:2px solid var(--Gray-Gray-200, #c3c9d9)}.stepper__circle--active{background:var(--Primary-Primary-500, #f49a3d);border:2px solid var(--Primary-Primary-500, #f49a3d)}.stepper__circle--completed{background:var(--Primary-Primary-500, #f49a3d);border:2px solid var(--Primary-Primary-500, #f49a3d)}.stepper__dot{width:8px;height:8px;border-radius:50%;background:var(--Neutral-White, #ffffff);display:block}.stepper__circle--pending .stepper__dot{background:var(--Gray-Gray-400, #858ea6)}.stepper__number{font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-bold, 700);color:var(--Neutral-White, #ffffff)}.stepper__circle--pending .stepper__number{color:var(--Gray-Gray-500, #69738c)}.stepper__line{flex:1;height:2px;background:var(--Gray-Gray-200, #c3c9d9);transition:background 0.2s}.stepper__line--done{background:var(--Primary-Primary-500, #f49a3d)}.stepper__label{margin-top:6px;font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-600, #475066);text-align:center}`;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiSkeletonCss = () => `:host{display:block}*,*::before,*::after{box-sizing:border-box}.skeleton-lines{display:flex;flex-direction:column;gap:8px}.skeleton{background:linear-gradient( 90deg, var(--Gray-Gray-100, #e6eaf2) 25%, var(--Gray-Gray-50, #f7f8fa) 50%, var(--Gray-Gray-100, #e6eaf2) 75% );background-size:200% 100%;animation:shimmer 1.6s ease-in-out infinite}@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}`;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiStepsCss = () => `:host{display:block;width:100%}*,*::before,*::after{box-sizing:border-box}.stepper{display:flex;align-items:flex-start;width:100%}.stepper__step{display:flex;flex-direction:column;align-items:center;flex:1;position:relative}.stepper__circle-wrap{display:flex;align-items:center;width:100%;position:relative}.stepper__circle{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:var(--font-size-xs, 10px);font-weight:var(--font-weight-bold, 700);flex-shrink:0;z-index:1;transition:background 0.2s, border-color 0.2s}.stepper__circle--pending{background:var(--Neutral-White, #ffffff);border:2px solid var(--Gray-Gray-200, #c3c9d9);color:var(--Gray-Gray-400, #858ea6)}.stepper__circle--focus{background:var(--Neutral-White, #ffffff);border:2px solid var(--Primary-Primary-500, #f49a3d);color:var(--Primary-Primary-500, #f49a3d)}.stepper__circle--completed{background:var(--Primary-Primary-500, #f49a3d);border:2px solid var(--Primary-Primary-500, #f49a3d);color:var(--Neutral-White, #ffffff)}.stepper__line{flex:1;height:2px;background:var(--Gray-Gray-200, #c3c9d9);transition:background 0.2s}.stepper__line--done{background:var(--Primary-Primary-500, #f49a3d)}.stepper__label{display:flex;flex-direction:column;align-items:center;gap:2px;margin-top:var(--Size-2, 8px);text-align:center;padding:0 4px}.stepper__title{font-size:var(--font-size-s, 12px);font-weight:var(--font-weight-bold, 700);color:var(--Gray-Gray-700, #32394d)}.stepper__desc{font-size:var(--font-size-xs, 10px);color:var(--Gray-Gray-500, #69738c)}`;
|
|
6
6
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-DydfpGMc.js');
|
|
4
4
|
|
|
5
5
|
const dropiSwitchCss = () => `:host{display:inline-block}*,*::before,*::after{box-sizing:border-box}.toggle-switch{position:relative;display:inline-block;width:40px;height:21px;margin-bottom:0;cursor:pointer}.toggle-switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--Gray-Gray-200, #c3c9d9);transition:0.4s;border-radius:34px}.slider::before{position:absolute;content:'';height:17px;width:17px;left:3px;bottom:2px;background-color:var(--Neutral-White, #ffffff);transition:0.4s;border-radius:50%}input:checked+.slider{background-color:var(--Primary-Primary-500, #f49a3d)}input:checked+.slider::before{transform:translateX(17px)}:host([disabled]) .toggle-switch{cursor:not-allowed;opacity:0.5}`;
|
|
6
6
|
|
|
7
7
|
const DropiSwitch = class {
|
|
8
8
|
constructor(hostRef) {
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
|
-
this.
|
|
10
|
+
this.dropiChange = index.createEvent(this, "dropiChange");
|
|
11
11
|
}
|
|
12
12
|
/** Whether the switch is on */
|
|
13
13
|
isChecked = false;
|
|
14
14
|
/** Whether the switch is disabled */
|
|
15
15
|
disabled = false;
|
|
16
16
|
/** Emitted when the toggle state changes */
|
|
17
|
-
|
|
17
|
+
dropiChange;
|
|
18
18
|
onToggleChange(event) {
|
|
19
19
|
const input = event.target;
|
|
20
20
|
this.isChecked = input.checked;
|
|
21
|
-
this.
|
|
21
|
+
this.dropiChange.emit(this.isChecked);
|
|
22
22
|
}
|
|
23
23
|
render() {
|
|
24
|
-
return (index.h("label", { key: '
|
|
24
|
+
return (index.h("label", { key: '977f209e9d6411bf386637c1073dca0f5d1c72f3', class: "toggle-switch" }, index.h("input", { key: '8deef7c0c079d8d5662bd05372eb74d5cc68429f', type: "checkbox", checked: this.isChecked, disabled: this.disabled, onChange: (e) => this.onToggleChange(e) }), index.h("span", { key: '2f6dd3b87996271d0c6abddc86697791de4da9b1', class: "slider" })));
|
|
25
25
|
}
|
|
26
26
|
static get formAssociated() { return true; }
|
|
27
27
|
};
|