@dropi/ui 0.1.41 → 0.1.42
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 +2 -2
- 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 +6 -6
- 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 +4 -4
- 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 +14 -14
- 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 +2 -2
- package/dist/cjs/dropi-tooltip-v2.cjs.entry.js +3 -3
- package/dist/cjs/dropi-tooltip.cjs.entry.js +2 -2
- 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/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-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.js +6 -6
- package/dist/collection/components/dropi-date-picker/dropi-date-picker.js +12 -12
- 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.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 +4 -0
- 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.js +1 -1
- package/dist/collection/components/dropi-tooltip/dropi-tooltip.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-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-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 +1 -1
- package/dist/dropi-ui/dropi-accordion.entry.js +1 -1
- package/dist/dropi-ui/dropi-alert-modal.entry.js +19 -15
- package/dist/dropi-ui/dropi-alert-modal.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-alert.entry.js +11 -11
- package/dist/dropi-ui/dropi-alert.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-badge-legacy.entry.js +1 -1
- package/dist/dropi-ui/dropi-button.entry.js +6 -6
- package/dist/dropi-ui/dropi-button.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-checkbox.entry.js +5 -5
- package/dist/dropi-ui/dropi-card-checkbox.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-product.entry.js +9 -9
- package/dist/dropi-ui/dropi-card-product.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-card-section.entry.js +8 -8
- package/dist/dropi-ui/dropi-card-section.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-carousel.entry.js +7 -7
- package/dist/dropi-ui/dropi-carousel.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js +8 -8
- package/dist/dropi-ui/dropi-checkbox-selection-list.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-checkbox.entry.js +5 -5
- package/dist/dropi-ui/dropi-checkbox.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-chips.entry.js +3 -3
- package/dist/dropi-ui/dropi-chips.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-color-picker.entry.js +2 -2
- package/dist/dropi-ui/dropi-country-flags.entry.js +1 -1
- package/dist/dropi-ui/dropi-country-selector.entry.js +5 -5
- package/dist/dropi-ui/dropi-country-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-date-picker.entry.js +10 -10
- package/dist/dropi-ui/dropi-date-picker.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-drawer.entry.js +2 -2
- package/dist/dropi-ui/dropi-empty-state.entry.js +1 -1
- package/dist/dropi-ui/dropi-favorite-button.entry.js +1 -1
- package/dist/dropi-ui/dropi-file-upload-progress-bar.entry.js +1 -1
- package/dist/dropi-ui/dropi-file-upload.entry.js +1 -1
- package/dist/dropi-ui/dropi-file-upload.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-icon.entry.js +16 -2
- package/dist/dropi-ui/dropi-icon.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js +4 -4
- package/dist/dropi-ui/dropi-ilustration-icon.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-image-miniature.entry.js +1 -1
- package/dist/dropi-ui/dropi-input.entry.js +14 -14
- package/dist/dropi-ui/dropi-input.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-languages-selector.entry.js +3 -3
- package/dist/dropi-ui/dropi-languages-selector.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-logo.entry.js +1 -1
- package/dist/dropi-ui/dropi-modal.entry.js +36 -31
- package/dist/dropi-ui/dropi-modal.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-navbar.entry.js +2 -2
- package/dist/dropi-ui/dropi-otp-send-code.entry.js +30 -15
- package/dist/dropi-ui/dropi-otp-send-code.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-paginator.entry.js +5 -5
- package/dist/dropi-ui/dropi-paginator.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-phone-input.entry.js +13 -13
- 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 +4 -4
- package/dist/dropi-ui/dropi-radio-button.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js +8 -8
- package/dist/dropi-ui/dropi-radio-selection-list.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-read-more.entry.js +1 -1
- package/dist/dropi-ui/dropi-search.entry.js +20 -20
- package/dist/dropi-ui/dropi-search.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-select.entry.js +49 -21
- package/dist/dropi-ui/dropi-select.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-sidebar.entry.js +5 -5
- package/dist/dropi-ui/dropi-sidebar.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-switch.entry.js +4 -4
- package/dist/dropi-ui/dropi-switch.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-table.entry.js +29 -21
- package/dist/dropi-ui/dropi-table.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tabs.entry.js +4 -4
- package/dist/dropi-ui/dropi-tabs.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-tag-type-product.entry.js +1 -1
- package/dist/dropi-ui/dropi-tag.entry.js +30 -2
- package/dist/dropi-ui/dropi-tag.entry.js.map +1 -1
- package/dist/dropi-ui/dropi-text-area.entry.js +2 -2
- package/dist/dropi-ui/dropi-time-line.entry.js +1 -1
- package/dist/dropi-ui/dropi-toast.entry.js +1 -1
- package/dist/dropi-ui/dropi-tooltip-v2.entry.js +2 -2
- package/dist/dropi-ui/dropi-tooltip.entry.js +1 -1
- package/dist/dropi-ui/dropi-ui.css +1 -311
- package/dist/dropi-ui/dropi-ui.esm.js +1 -50
- package/dist/dropi-ui/dropi-vertical-steps.entry.js +1 -1
- package/dist/dropi-ui/dropi-youtube-lazy-video.entry.js +1 -1
- package/dist/dropi-ui/index.esm.js +0 -4
- 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-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-1ce00757.entry.js +1 -0
- 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-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-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-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-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-5f735166.entry.js +1 -0
- package/dist/dropi-ui/p-61f8905c.entry.js +1 -0
- package/dist/dropi-ui/p-648e5340.entry.js +1 -0
- 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-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-6b925a36.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-70f75e92.entry.js +1 -0
- package/dist/dropi-ui/p-7140309a.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-76fa02a1.entry.js +1 -0
- package/dist/dropi-ui/p-770b0195.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-7c0f959f.entry.js +1 -0
- package/dist/dropi-ui/p-7c5ea4c5.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-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-84019422.entry.js +1 -0
- package/dist/dropi-ui/p-8b8dc399.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-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-9e8615de.entry.js +1 -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-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-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-b20f7dde.entry.js +1 -0
- package/dist/dropi-ui/p-b2e7cf4f.entry.js +1 -0
- package/dist/dropi-ui/p-b325f7cf.entry.js +1 -0
- 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-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-c218524f.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-ca2e462a.entry.js +1 -0
- package/dist/dropi-ui/p-ca90e108.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-d46f3328.entry.js +1 -0
- package/dist/dropi-ui/p-d693bbb8.entry.js +1 -0
- package/dist/dropi-ui/p-d813969b.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-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-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-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-f23e1df7.entry.js +1 -0
- package/dist/dropi-ui/p-f4bd8568.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-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-fef3673d.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 +2 -2
- 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 +6 -6
- 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 +4 -4
- 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 +14 -14
- 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 +2 -2
- package/dist/esm/dropi-tooltip-v2.entry.js +3 -3
- package/dist/esm/dropi-tooltip.entry.js +2 -2
- 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-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 +1 -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 +303 -167
- package/hydrate/index.js +509 -348
- package/hydrate/index.mjs +509 -348
- package/package.json +1 -1
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"components/dropi-otp-send-code/dropi-otp-send-code.js",
|
|
59
59
|
"components/dropi-paginator/dropi-paginator.js",
|
|
60
60
|
"components/dropi-phone-input/dropi-phone-input.js",
|
|
61
|
+
"components/dropi-progress-bar/dropi-progress-bar.js",
|
|
61
62
|
"components/dropi-radio-button/dropi-radio-button.js",
|
|
62
63
|
"components/dropi-read-more/dropi-read-more.js",
|
|
63
64
|
"components/dropi-select/dropi-select.js",
|
|
@@ -40,7 +40,7 @@ export class DropiAccordionItem {
|
|
|
40
40
|
setTimeout(() => this.updateHeight(this.open), 0);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h("div", { key: '
|
|
43
|
+
return (h("div", { key: '98de1df9b82f0e4e5e72702b7eaca12c0ed92586', class: { 'accordion-item': true, 'accordion-item--open': this.open, 'accordion-item--disabled': this.disabled } }, h("button", { key: 'bd5c3e6ea29feb33e5280908c98929369dc7377e', class: "accordion-header", onClick: () => this.handleToggle(), "aria-expanded": String(this.open), disabled: this.disabled }, h("span", { key: 'ced161eb1187d50b7eb2002081cd3fc008c9a16f', class: "accordion-header-left" }, this.preIcon && h("dropi-icon", { key: '09a157623f0978153b57e85a79d7beeca3faf9ab', name: this.preIcon, iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-600" }), h("span", { key: '649617f263370d1314e3145c07a3a29ce5c807b5', class: "accordion-title" }, this.sectionTitle)), h("span", { key: 'd99e3933a40ffa4b1da8091a8b6d767011f1bf6f', class: { 'accordion-chevron': true, 'accordion-chevron--open': this.open } }, h("dropi-icon", { key: '3d12ae988429fea2612c0c32c12cd81a486ad255', name: "Dropdown-down", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-500" }))), h("div", { key: 'cedff4803c6fa83ae9dc5cb3ce68f48150cdef67', class: "accordion-body", style: { maxHeight: this.contentHeight }, ref: (el) => this.contentRef = el }, h("div", { key: 'a37dd42bf39cf08479d847286860e78a1d80a233', class: "accordion-content" }, h("slot", { key: 'd797eac747716be1af2a6addbefe583be4a816b1' })))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "dropi-accordion-item"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,7 @@ export class DropiAccordion {
|
|
|
7
7
|
/** Allows multiple sections to be open at the same time. If false, only one section can be open. */
|
|
8
8
|
multiple = false;
|
|
9
9
|
render() {
|
|
10
|
-
return (h("div", { key: '
|
|
10
|
+
return (h("div", { key: 'c8c70f9c2210e1bc6de7d0933f082a0d1c008837', class: "accordion-container" }, h("slot", { key: '9fe1055ed6f5a2fc5c3e8dde47b694ea0acdbcb9' })));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "dropi-accordion"; }
|
|
13
13
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
const STATE_ICONS = {
|
|
3
3
|
success: 'Check-circle',
|
|
4
|
-
error: '
|
|
5
|
-
warning: 'Warning-
|
|
4
|
+
error: 'Cross-circle',
|
|
5
|
+
warning: 'Warning-circle',
|
|
6
6
|
info: 'Info',
|
|
7
7
|
};
|
|
8
8
|
const STATE_COLORS = {
|
|
@@ -30,9 +30,9 @@ export class DropiAlert {
|
|
|
30
30
|
/** Action button label */
|
|
31
31
|
buttonText = 'Close';
|
|
32
32
|
/** Anchor/link label */
|
|
33
|
-
anchorText = '
|
|
33
|
+
anchorText = '';
|
|
34
34
|
/** Anchor href */
|
|
35
|
-
anchorUrl = '
|
|
35
|
+
anchorUrl = '';
|
|
36
36
|
/** Whether the alert is visible */
|
|
37
37
|
showAlert = true;
|
|
38
38
|
/** Link text (alternative to anchorText) */
|
|
@@ -42,15 +42,15 @@ export class DropiAlert {
|
|
|
42
42
|
/** Clicked text tracking */
|
|
43
43
|
clickedText = '';
|
|
44
44
|
/** Emitted when the alert is dismissed */
|
|
45
|
-
|
|
45
|
+
dropiClose;
|
|
46
46
|
/** Emitted when the action button is clicked */
|
|
47
|
-
|
|
47
|
+
dropiButtonClick;
|
|
48
48
|
/** Emitted when the anchor link is clicked */
|
|
49
|
-
|
|
49
|
+
dropiLinkClick;
|
|
50
50
|
render() {
|
|
51
51
|
if (!this.showAlert)
|
|
52
52
|
return null;
|
|
53
|
-
return (h("div", { class: { 'alert': true, [`alert--${this.type}`]: true, [`alert--${this.state}`]: true } }, this.type !== 'flag' && (h("div", { class: "alert__icon" }, h("dropi-icon", { name: STATE_ICONS[this.state], iconWidth: "18px", iconHeight: "18px", color: STATE_COLORS[this.state] }))), h("div", { class: "alert__body" }, h("span", { class: "alert__message" }, this.
|
|
53
|
+
return (h("div", { class: { 'alert': true, [`alert--${this.type}`]: true, [`alert--${this.state}`]: true } }, this.type !== 'flag' && (h("div", { class: "alert__icon" }, h("dropi-icon", { name: STATE_ICONS[this.state], iconWidth: "18px", iconHeight: "18px", color: STATE_COLORS[this.state] }))), h("div", { class: "alert__body" }, h("span", { class: "alert__message", innerHTML: this.message }), this.clickedText && (h("a", { class: "alert__link", href: "#", onClick: (e) => { e.preventDefault(); this.dropiLinkClick.emit(); } }, this.clickedText)), (this.anchorText || this.textLink) && (h("a", { class: "alert__link", href: this.anchorUrl || this.linkUrl || '#', onClick: (e) => { e.preventDefault(); this.dropiLinkClick.emit(); } }, this.anchorText || this.textLink))), h("div", { class: "alert__actions" }, this.showButton && this.buttonText && this.type !== 'flag' && (h("button", { class: "alert__btn", onClick: () => this.dropiButtonClick.emit() }, this.buttonText)), this.dismissable && (h("button", { class: "alert__close", onClick: () => { this.showAlert = false; this.dropiClose.emit(); }, "aria-label": "Cerrar" }, h("dropi-icon", { name: "Close-small", iconWidth: "18px", iconHeight: "18px", color: "Gray-Gray-500" }))))));
|
|
54
54
|
}
|
|
55
55
|
static get is() { return "dropi-alert"; }
|
|
56
56
|
static get encapsulation() { return "shadow"; }
|
|
@@ -216,7 +216,7 @@ export class DropiAlert {
|
|
|
216
216
|
"setter": false,
|
|
217
217
|
"reflect": false,
|
|
218
218
|
"attribute": "anchor-text",
|
|
219
|
-
"defaultValue": "'
|
|
219
|
+
"defaultValue": "''"
|
|
220
220
|
},
|
|
221
221
|
"anchorUrl": {
|
|
222
222
|
"type": "string",
|
|
@@ -236,7 +236,7 @@ export class DropiAlert {
|
|
|
236
236
|
"setter": false,
|
|
237
237
|
"reflect": false,
|
|
238
238
|
"attribute": "anchor-url",
|
|
239
|
-
"defaultValue": "'
|
|
239
|
+
"defaultValue": "''"
|
|
240
240
|
},
|
|
241
241
|
"showAlert": {
|
|
242
242
|
"type": "boolean",
|
|
@@ -322,8 +322,8 @@ export class DropiAlert {
|
|
|
322
322
|
}
|
|
323
323
|
static get events() {
|
|
324
324
|
return [{
|
|
325
|
-
"method": "
|
|
326
|
-
"name": "
|
|
325
|
+
"method": "dropiClose",
|
|
326
|
+
"name": "dropiClose",
|
|
327
327
|
"bubbles": true,
|
|
328
328
|
"cancelable": true,
|
|
329
329
|
"composed": true,
|
|
@@ -337,8 +337,8 @@ export class DropiAlert {
|
|
|
337
337
|
"references": {}
|
|
338
338
|
}
|
|
339
339
|
}, {
|
|
340
|
-
"method": "
|
|
341
|
-
"name": "
|
|
340
|
+
"method": "dropiButtonClick",
|
|
341
|
+
"name": "dropiButtonClick",
|
|
342
342
|
"bubbles": true,
|
|
343
343
|
"cancelable": true,
|
|
344
344
|
"composed": true,
|
|
@@ -352,8 +352,8 @@ export class DropiAlert {
|
|
|
352
352
|
"references": {}
|
|
353
353
|
}
|
|
354
354
|
}, {
|
|
355
|
-
"method": "
|
|
356
|
-
"name": "
|
|
355
|
+
"method": "dropiLinkClick",
|
|
356
|
+
"name": "dropiLinkClick",
|
|
357
357
|
"bubbles": true,
|
|
358
358
|
"cancelable": true,
|
|
359
359
|
"composed": true,
|
|
@@ -38,6 +38,10 @@ export class DropiAlertModal {
|
|
|
38
38
|
isStep = false;
|
|
39
39
|
/** Base z-index for the internal modal overlay (matches Angular `baseZIndex`) */
|
|
40
40
|
baseZIndex = 0;
|
|
41
|
+
/**
|
|
42
|
+
* Use White Label (MB) illustration style instead of Lottie animation.
|
|
43
|
+
*/
|
|
44
|
+
isWhiteLabel = false;
|
|
41
45
|
/**
|
|
42
46
|
* Convenience object prop — matches Angular `params: ModalParams`.
|
|
43
47
|
* Fields: tittle, type, message, primaryButton, secondaryButton, loadingTitle,
|
|
@@ -68,13 +72,13 @@ export class DropiAlertModal {
|
|
|
68
72
|
this.displayButtons = val.displayButtons;
|
|
69
73
|
}
|
|
70
74
|
/** Emitted when primary button is clicked — matches Angular 'primaryButtonEvent' */
|
|
71
|
-
|
|
75
|
+
dropiPrimaryClick;
|
|
72
76
|
/** Emitted when secondary button is clicked — matches Angular 'secondaryButtonEvent' */
|
|
73
|
-
|
|
77
|
+
dropiSecondaryClick;
|
|
74
78
|
/** Emitted when modal open state changes — matches Angular 'modalOpenChange' */
|
|
75
|
-
|
|
79
|
+
dropiVisibleChange;
|
|
76
80
|
/** Emitted when modal is hidden — matches Angular 'onHide' */
|
|
77
|
-
|
|
81
|
+
dropiHide;
|
|
78
82
|
lottieMap = {
|
|
79
83
|
question: '/assets/lottie-files/question.json',
|
|
80
84
|
warning: '/assets/lottie-files/warning.json',
|
|
@@ -93,26 +97,26 @@ export class DropiAlertModal {
|
|
|
93
97
|
this.visible = false;
|
|
94
98
|
}
|
|
95
99
|
handlePrimary() {
|
|
96
|
-
this.
|
|
100
|
+
this.dropiPrimaryClick.emit(true);
|
|
97
101
|
if (!this.isStep) {
|
|
98
102
|
this.visible = false;
|
|
99
|
-
this.
|
|
103
|
+
this.dropiVisibleChange.emit(false);
|
|
100
104
|
}
|
|
101
105
|
}
|
|
102
106
|
handleSecondary() {
|
|
103
|
-
this.
|
|
107
|
+
this.dropiSecondaryClick.emit(true);
|
|
104
108
|
this.visible = false;
|
|
105
|
-
this.
|
|
109
|
+
this.dropiVisibleChange.emit(false);
|
|
106
110
|
}
|
|
107
111
|
onModalHide() {
|
|
108
112
|
this.visible = false;
|
|
109
|
-
this.
|
|
110
|
-
this.
|
|
113
|
+
this.dropiVisibleChange.emit(false);
|
|
114
|
+
this.dropiHide.emit();
|
|
111
115
|
}
|
|
112
116
|
render() {
|
|
113
117
|
const lottieKey = this.loading ? 'loading' : this.type;
|
|
114
118
|
const isLottieLoading = lottieKey === 'loading';
|
|
115
|
-
return (h("dropi-modal", { key: '
|
|
119
|
+
return (h("dropi-modal", { key: '322c59ea0a067a4c0cb28a5ffbe9cbc0c642eee6', visible: this.visible, showHeader: this.closable, showCloseIcon: this.closable, dismissable: false, closeOnEscape: false, showFooter: false, size: "s", onDropiHide: () => this.onModalHide() }, h("div", { key: '06530f3da45738d1ed75a4e8b5b8b0b80dfd2647', class: "body-alert" }, this.lottieMap[lottieKey] && (h("div", { key: '7a4ab4fbbdf3cbbacfa22f918d212b788f4392a4', class: `lottie-img${isLottieLoading ? ' lottie-img--loading' : ''}` }, h("lottie-player", { key: lottieKey, src: this.lottieMap[lottieKey], background: "transparent", speed: "1", loop: true, autoplay: true }))), h("div", { key: '0e72f42d10c59047e82df8b2842affd38ab60fc7', class: "content-alert" }, h("h2", { key: '8262de8fbcf5b87fbac34740d34d99d0b6ff921d' }, this.loading ? this.loadingTitle : this.tittle), h("p", { key: 'ca9c734e0b9686bff7e2616ae98224446ac0ca33' }, this.loading ? this.loadingMessage : this.message)), h("div", { key: '1b5edb3af1044cb0dd0b57a425517b1d824672be', class: "custom-content" }, h("slot", { key: '57f4a8acdbcf8a11445f7c8233355bb4ac46c9ab' })), !this.loading && this.displayButtons && (h("div", { key: '32580f42d98f628b4c1d1f300b5a3aaaa1be2486', class: "actions" }, this.secondaryButton && h("dropi-button", { key: 'dcf8707a7f4d8b80126a10022dd6de1c0ea44dc7', text: this.secondaryButton, severity: "secondary", onDropiClick: () => this.handleSecondary(), fullWidth: true }), h("dropi-button", { key: '3ed494fc7a83021174c4d006ae4327348d400e93', text: this.primaryButton, severity: "primary", onDropiClick: () => this.handlePrimary(), fullWidth: true }))))));
|
|
116
120
|
}
|
|
117
121
|
static get is() { return "dropi-alert-modal"; }
|
|
118
122
|
static get originalStyleUrls() {
|
|
@@ -393,6 +397,26 @@ export class DropiAlertModal {
|
|
|
393
397
|
"attribute": "base-z-index",
|
|
394
398
|
"defaultValue": "0"
|
|
395
399
|
},
|
|
400
|
+
"isWhiteLabel": {
|
|
401
|
+
"type": "boolean",
|
|
402
|
+
"mutable": false,
|
|
403
|
+
"complexType": {
|
|
404
|
+
"original": "boolean",
|
|
405
|
+
"resolved": "boolean",
|
|
406
|
+
"references": {}
|
|
407
|
+
},
|
|
408
|
+
"required": false,
|
|
409
|
+
"optional": false,
|
|
410
|
+
"docs": {
|
|
411
|
+
"tags": [],
|
|
412
|
+
"text": "Use White Label (MB) illustration style instead of Lottie animation."
|
|
413
|
+
},
|
|
414
|
+
"getter": false,
|
|
415
|
+
"setter": false,
|
|
416
|
+
"reflect": false,
|
|
417
|
+
"attribute": "is-white-label",
|
|
418
|
+
"defaultValue": "false"
|
|
419
|
+
},
|
|
396
420
|
"params": {
|
|
397
421
|
"type": "any",
|
|
398
422
|
"mutable": false,
|
|
@@ -417,8 +441,8 @@ export class DropiAlertModal {
|
|
|
417
441
|
}
|
|
418
442
|
static get events() {
|
|
419
443
|
return [{
|
|
420
|
-
"method": "
|
|
421
|
-
"name": "
|
|
444
|
+
"method": "dropiPrimaryClick",
|
|
445
|
+
"name": "dropiPrimaryClick",
|
|
422
446
|
"bubbles": true,
|
|
423
447
|
"cancelable": true,
|
|
424
448
|
"composed": true,
|
|
@@ -432,8 +456,8 @@ export class DropiAlertModal {
|
|
|
432
456
|
"references": {}
|
|
433
457
|
}
|
|
434
458
|
}, {
|
|
435
|
-
"method": "
|
|
436
|
-
"name": "
|
|
459
|
+
"method": "dropiSecondaryClick",
|
|
460
|
+
"name": "dropiSecondaryClick",
|
|
437
461
|
"bubbles": true,
|
|
438
462
|
"cancelable": true,
|
|
439
463
|
"composed": true,
|
|
@@ -447,8 +471,8 @@ export class DropiAlertModal {
|
|
|
447
471
|
"references": {}
|
|
448
472
|
}
|
|
449
473
|
}, {
|
|
450
|
-
"method": "
|
|
451
|
-
"name": "
|
|
474
|
+
"method": "dropiVisibleChange",
|
|
475
|
+
"name": "dropiVisibleChange",
|
|
452
476
|
"bubbles": true,
|
|
453
477
|
"cancelable": true,
|
|
454
478
|
"composed": true,
|
|
@@ -462,8 +486,8 @@ export class DropiAlertModal {
|
|
|
462
486
|
"references": {}
|
|
463
487
|
}
|
|
464
488
|
}, {
|
|
465
|
-
"method": "
|
|
466
|
-
"name": "
|
|
489
|
+
"method": "dropiHide",
|
|
490
|
+
"name": "dropiHide",
|
|
467
491
|
"bubbles": true,
|
|
468
492
|
"cancelable": true,
|
|
469
493
|
"composed": true,
|
|
@@ -14,7 +14,7 @@ export class DropiBadgeLegacy {
|
|
|
14
14
|
count = 0;
|
|
15
15
|
render() {
|
|
16
16
|
const isCounter = this.type === 'counter';
|
|
17
|
-
return (h("div", { key: '
|
|
17
|
+
return (h("div", { key: '58bb5c6625539109f010cccdcaafc37ab6da38ba', class: {
|
|
18
18
|
'badge-legacy': true,
|
|
19
19
|
[`badge-legacy--${this.variant}`]: true,
|
|
20
20
|
[`badge-legacy--${this.type}`]: true
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
display: inline-block;
|
|
3
|
+
border: 0;
|
|
3
4
|
}
|
|
4
5
|
|
|
5
6
|
:host([full-width]) {
|
|
@@ -127,12 +128,14 @@
|
|
|
127
128
|
|
|
128
129
|
.btn.tertiary.default,
|
|
129
130
|
.btn.tertiary.legacy {
|
|
130
|
-
border:
|
|
131
|
+
border: none !important;
|
|
132
|
+
box-shadow: none !important;
|
|
131
133
|
color: var(--Gray-Gray-500, #69738c);
|
|
132
134
|
}
|
|
133
135
|
.btn.tertiary.default:hover,
|
|
134
136
|
.btn.tertiary.legacy:hover {
|
|
135
|
-
|
|
137
|
+
background: var(--Gray-Gray-50, #f5f6f8);
|
|
138
|
+
box-shadow: none !important;
|
|
136
139
|
color: var(--Gray-Gray-600, #475066);
|
|
137
140
|
}
|
|
138
141
|
|
|
@@ -158,7 +161,7 @@
|
|
|
158
161
|
/* Disabled tertiary */
|
|
159
162
|
.btn.tertiary.disabled.default,
|
|
160
163
|
.btn.tertiary.disabled.legacy {
|
|
161
|
-
border:
|
|
164
|
+
border: none !important;
|
|
162
165
|
color: var(--Gray-Gray-400, #858ea6);
|
|
163
166
|
}
|
|
164
167
|
.btn.tertiary.disabled.success { color: var(--Success-Success-300, #5bd1af); }
|
|
@@ -24,7 +24,7 @@ export class DropiButton {
|
|
|
24
24
|
/** Button label */
|
|
25
25
|
text = '';
|
|
26
26
|
/** Emitted on click (not emitted when disabled or loading) */
|
|
27
|
-
|
|
27
|
+
dropiClick;
|
|
28
28
|
colorMap = {
|
|
29
29
|
default: 'Primary-Primary-',
|
|
30
30
|
success: 'Success-Success-',
|
|
@@ -56,7 +56,7 @@ export class DropiButton {
|
|
|
56
56
|
}
|
|
57
57
|
handleClick(e) {
|
|
58
58
|
if (this.state !== 'disabled' && this.state !== 'loading') {
|
|
59
|
-
this.
|
|
59
|
+
this.dropiClick.emit(e);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
renderLoadingSpinner() {
|
|
@@ -67,7 +67,7 @@ export class DropiButton {
|
|
|
67
67
|
const hasText = (this.text ?? '') !== '';
|
|
68
68
|
const showPostIcon = (this.postIcon ?? '') !== '' || (this.type ?? 'default') === 'dropdown';
|
|
69
69
|
const dropdownIcon = (this.type ?? 'default') === 'dropdown' ? 'Dropdown-down' : (this.postIcon ?? '');
|
|
70
|
-
return (h("button", { key: '
|
|
70
|
+
return (h("button", { key: 'eefda6c7ac5090173a545d67e72073dc410ff05c', class: {
|
|
71
71
|
btn: true,
|
|
72
72
|
'without-text': !hasText,
|
|
73
73
|
[this.severity ?? 'primary']: true,
|
|
@@ -75,7 +75,7 @@ export class DropiButton {
|
|
|
75
75
|
[this.size ?? 'normal']: true,
|
|
76
76
|
[this.state ?? 'default']: true,
|
|
77
77
|
'full-width': this.fullWidth,
|
|
78
|
-
}, disabled: isDisabled, onClick: (e) => this.handleClick(e) }, this.preIcon && (h("dropi-icon", { key: '
|
|
78
|
+
}, disabled: isDisabled, onClick: (e) => this.handleClick(e) }, this.preIcon && (h("dropi-icon", { key: '869ee8fc34dee93de0381a86db643c0fa9dc6918', name: this.preIcon, iconWidth: this.iconSize, iconHeight: this.iconSize, color: this.fontColor })), hasText && h("span", { key: '927ef142b4c549d01b087722e9f6759cff44e6b2', class: "text" }, this.text), showPostIcon && (h("dropi-icon", { key: 'cda1f5d0fa59a87abc1d3d73a87d4390f05f79eb', name: dropdownIcon, iconWidth: this.iconSize, iconHeight: this.iconSize, color: this.fontColor })), this.state === 'loading' && this.renderLoadingSpinner(), h("slot", { key: 'c83dd79efe5d858361815878192c0c554a9234ca' })));
|
|
79
79
|
}
|
|
80
80
|
static get is() { return "dropi-button"; }
|
|
81
81
|
static get encapsulation() { return "shadow"; }
|
|
@@ -299,8 +299,8 @@ export class DropiButton {
|
|
|
299
299
|
}
|
|
300
300
|
static get events() {
|
|
301
301
|
return [{
|
|
302
|
-
"method": "
|
|
303
|
-
"name": "
|
|
302
|
+
"method": "dropiClick",
|
|
303
|
+
"name": "dropiClick",
|
|
304
304
|
"bubbles": true,
|
|
305
305
|
"cancelable": true,
|
|
306
306
|
"composed": true,
|
|
@@ -27,7 +27,7 @@ export class DropiCardCheckbox {
|
|
|
27
27
|
/** Disables interaction */
|
|
28
28
|
disabled = false;
|
|
29
29
|
/** Emitted with the new checked state when clicked */
|
|
30
|
-
|
|
30
|
+
dropiChange;
|
|
31
31
|
get isChecked() {
|
|
32
32
|
return this.state === 'checked';
|
|
33
33
|
}
|
|
@@ -35,15 +35,15 @@ export class DropiCardCheckbox {
|
|
|
35
35
|
if (this.disabled)
|
|
36
36
|
return;
|
|
37
37
|
this.state = this.isChecked ? 'default' : 'checked';
|
|
38
|
-
this.
|
|
38
|
+
this.dropiChange.emit(this.isChecked);
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: 'b9004c813a03956904cfed8484cac2d8290be86f', class: {
|
|
42
42
|
'container-card-check': true,
|
|
43
43
|
'default-card': this.type === 'default',
|
|
44
44
|
'is-checked': this.isChecked && this.type === 'with card',
|
|
45
45
|
'disabled': this.disabled,
|
|
46
|
-
}, onClick: () => this.handleClick() }, h("dropi-checkbox", { key: '
|
|
46
|
+
}, onClick: () => this.handleClick() }, h("dropi-checkbox", { key: '0c5c50811559c6472173fced2f04eee4626f118f', checked: this.isChecked, disabled: this.disabled }), h("div", { key: '1cb17bf8aea55a498d451922942b4fba6d99492c', class: "container-text" }, h("div", { key: '6e2eab2ae82c13cb4e7a654cc989530cee1122c6', class: "title-check" }, this.title), this.description && h("div", { key: '040e5d8f633975bf3eb806835aae8aa308b1d4f8', class: "description-text" }, this.description)), (this.extraInfo || this.extraInfoDescription) && (h("div", { key: 'a5c794b5f2fa249b309b2fb00a759aea5b9e0d6c', class: "extra-info" }, this.extraInfo && h("div", { key: '1587e1a0801312fa8e759af2a367b36f842e1354' }, this.extraInfo), this.extraInfoDescription && h("h4", { key: '930811071657dfbbeff7c2bdc4cd2c2776d38177' }, this.extraInfoDescription)))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "dropi-card-checkbox"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -203,8 +203,8 @@ export class DropiCardCheckbox {
|
|
|
203
203
|
}
|
|
204
204
|
static get events() {
|
|
205
205
|
return [{
|
|
206
|
-
"method": "
|
|
207
|
-
"name": "
|
|
206
|
+
"method": "dropiChange",
|
|
207
|
+
"name": "dropiChange",
|
|
208
208
|
"bubbles": true,
|
|
209
209
|
"cancelable": true,
|
|
210
210
|
"composed": true,
|
|
@@ -29,9 +29,9 @@ export class DropiCardProduct {
|
|
|
29
29
|
/** Show "Enviar a cliente" button */
|
|
30
30
|
showAddButton = true;
|
|
31
31
|
/** Emitted when card is clicked — matches Angular 'onProductClick' */
|
|
32
|
-
|
|
32
|
+
dropiProductClick;
|
|
33
33
|
/** Emitted when favorite toggled — matches Angular 'changeFavorite' */
|
|
34
|
-
|
|
34
|
+
dropiFavoriteChange;
|
|
35
35
|
/** Emitted when "Enviar a cliente" button clicked */
|
|
36
36
|
dropiAddProduct;
|
|
37
37
|
/** Emitted when supplier name clicked */
|
|
@@ -52,17 +52,17 @@ export class DropiCardProduct {
|
|
|
52
52
|
return 'var(--Success-Success-500, #0abb87)';
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: '2fe4ce42e1c331a99fd1171c82e6e48bfb5dbff0', class: "dropi-card-product", onClick: () => this.dropiProductClick.emit() }, h("div", { key: '3f94077ee059e347f3ff4fff808a3a3f3a0ac827', class: "product-image-container" }, h("div", { key: '1d6e8181cc630ab03efc90e316c349dfe9765b46', class: "product-image" }, h("img", { key: 'f6647c21ac24d378482c6e6fe5220d6d18ff694b', src: this.image || '', alt: this.productName, onError: (e) => {
|
|
56
56
|
e.target.src = './assets/utils/no-image.jpg';
|
|
57
|
-
}, class: !this.image ? 'error-img' : '' }), this.showFavorite && (h("button", { key: '
|
|
57
|
+
}, class: !this.image ? 'error-img' : '' }), this.showFavorite && (h("button", { key: '37c23af5e1345e2f2b2ac42dd38f88eb17254889', class: { 'favorite-button': true, 'favorite-active': this.isFavorite }, onClick: (e) => {
|
|
58
58
|
e.stopPropagation();
|
|
59
59
|
this.isFavorite = !this.isFavorite;
|
|
60
|
-
this.
|
|
61
|
-
}, "aria-label": "Favorito" }, h("dropi-icon", { key: '
|
|
60
|
+
this.dropiFavoriteChange.emit(this.isFavorite);
|
|
61
|
+
}, "aria-label": "Favorito" }, h("dropi-icon", { key: 'c6d6c87dcb5ae0f9a0d416667a3d39c7e153b7a6', name: this.isFavorite ? 'Heart-solid' : 'Heart', iconWidth: "18px", iconHeight: "18px", color: this.isFavorite ? '#fff' : '#858ea6' }))))), h("div", { key: '66dbcb028acb35e9a43502e9ff9a00fd2ebf8bf2', class: "product-info" }, this.supplierCategory && (h("dropi-ilustration-icon", { key: 'fd3d94e953a6b91418decc09ed426755a85bac1b', class: "supplier-insignia", type: "insignia", stateInsignia: this.supplierCategory, tagProduct: true })), h("div", { key: '45817e3bb0bfdaa0ec8cb4a23fdac1bb943e93dc', class: "product-header" }, this.category && (h("span", { key: 'c721519a5339a2ac40d20c283bbe8797b78e4b27', class: "category" }, this.category)), h("div", { key: '49f5013738dfffcdb83dfde628f5d1d21164c3d2', class: "stock-info" }, h("span", { key: 'bd49d5069d07b3ae10ac9c85a4b84bbb573f926e', class: "stock-label" }, "Stock:"), h("span", { key: 'd0eefb88240c13c9c56e7470e79cbacc9d86caf4', class: "stock-value", style: { color: this.getStockColor() } }, this.stock === 0 ? 'Agotado' : this.stock))), h("h3", { key: 'a880d0df13af0b75d553daf18e876905b93e6ef1', class: "product-name" }, this.productName), this.supplier && (h("div", { key: 'faa82e269979084e7510b6a17fb1f3caee8ad181', class: "supplier-info" }, h("span", { key: 'b4b223620c58cb30945b1c6be50559614937eb5f', class: "supplier-label" }, "Proveedor:"), h("span", { key: '989580f42383c3b6adb6484a493d1293a2a11904', class: "supplier-name", onClick: (e) => { e.stopPropagation(); this.dropiSupplierClick.emit(); } }, this.supplier))), h("div", { key: '451c1ab830c7ab38c4e414e94f11f63ffcf86162', class: "price-container" }, h("div", { key: '755f3f8aac6f7b1d458d28b74dec2734b42794a6', class: "price-item" }, h("span", { key: 'fff0a718b4f22641adcd28bbcb7e81a0f21755e9', class: "price-label" }, "Precio proveedor"), h("span", { key: '5bb6843a4a293195f0dbda5c3eccfc4f38c719b1', class: "price-value" }, this.currency, " ", this.formatPrice(this.salePrice))), h("div", { key: '468b1d7596ec5d727846a087b5d89461c5fef858', class: "price-item" }, h("span", { key: '91b15e4d58d27997b2dfdb9c73fd417a8f8ba5fb', class: "price-label" }, "Precio sugerido"), h("span", { key: '378483760ffac07491f5b65b37d5e27d41423ec5', class: "price-value" }, this.currency, " ", this.formatPrice(this.suggestedPrice))))), h("div", { key: '71467832049894083ea3454618a12d082cb15844', class: "separator" }), this.showAddButton && (h("div", { key: 'f9f0450e3dfa2b91ae7caa468811cc739d7a280e', class: { 'action-button': true, 'action-button--disabled': !this.inStock }, onClick: (e) => {
|
|
62
62
|
e.stopPropagation();
|
|
63
63
|
if (this.inStock)
|
|
64
64
|
this.dropiAddProduct.emit();
|
|
65
|
-
} }, h("dropi-icon", { key: '
|
|
65
|
+
} }, h("dropi-icon", { key: '50a9fad974460c2728fb1fca74628d093cbb1875', name: "Shopping-cart-arrow-rigth", iconWidth: "20px", iconHeight: "20px", color: "#f49a3d" }), h("span", { key: 'f5ac44dd20e01bc644e863c3cbf51e3493821e70', class: "button-text" }, "Enviar a cliente")))));
|
|
66
66
|
}
|
|
67
67
|
static get is() { return "dropi-card-product"; }
|
|
68
68
|
static get encapsulation() { return "shadow"; }
|
|
@@ -322,8 +322,8 @@ export class DropiCardProduct {
|
|
|
322
322
|
}
|
|
323
323
|
static get events() {
|
|
324
324
|
return [{
|
|
325
|
-
"method": "
|
|
326
|
-
"name": "
|
|
325
|
+
"method": "dropiProductClick",
|
|
326
|
+
"name": "dropiProductClick",
|
|
327
327
|
"bubbles": true,
|
|
328
328
|
"cancelable": true,
|
|
329
329
|
"composed": true,
|
|
@@ -337,8 +337,8 @@ export class DropiCardProduct {
|
|
|
337
337
|
"references": {}
|
|
338
338
|
}
|
|
339
339
|
}, {
|
|
340
|
-
"method": "
|
|
341
|
-
"name": "
|
|
340
|
+
"method": "dropiFavoriteChange",
|
|
341
|
+
"name": "dropiFavoriteChange",
|
|
342
342
|
"bubbles": true,
|
|
343
343
|
"cancelable": true,
|
|
344
344
|
"composed": true,
|
|
@@ -15,16 +15,16 @@ export class DropiCardSection {
|
|
|
15
15
|
/** Switch checked state */
|
|
16
16
|
isChecked = false;
|
|
17
17
|
/** Emitted when switch changes */
|
|
18
|
-
|
|
18
|
+
dropiChange;
|
|
19
19
|
/** Emitted when dropdown icon is clicked */
|
|
20
|
-
|
|
20
|
+
dropiClick;
|
|
21
21
|
render() {
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '06fe2a580fb23484419ea4b1c41a265facb722de', class: "card-section" }, h("div", { key: '1020ea256b0311a200a721387b3ecb8d0f3809ab', class: "card-section__text" }, this.type === 'important'
|
|
23
23
|
? h("h5", { class: "card-section__title card-section__title--important" }, this.title)
|
|
24
|
-
: h("h6", { class: "card-section__title" }, this.title), this.description && h("p", { key: '
|
|
24
|
+
: h("h6", { class: "card-section__title" }, this.title), this.description && h("p", { key: '52ea93b6b2736c4c6e3ebb953c2878db90d34b4c', class: "card-section__desc" }, this.description)), h("div", { key: '7ec0ed96e43b45256fd5dec5ee24b0dfd6488403', class: "card-section__control" }, this.typeElement === 'switch' ? (h("dropi-switch", { isChecked: this.isChecked, onDropiChange: (e) => {
|
|
25
25
|
this.isChecked = e.detail;
|
|
26
|
-
this.
|
|
27
|
-
} })) : (h("button", { class: "card-section__dropdown-btn", onClick: () => this.
|
|
26
|
+
this.dropiChange.emit(e.detail);
|
|
27
|
+
} })) : (h("button", { class: "card-section__dropdown-btn", onClick: () => this.dropiClick.emit(), "aria-label": "Expandir" }, h("dropi-icon", { name: "Dropdown-down", iconWidth: "20px", iconHeight: "20px", color: "Gray-Gray-500" }))))));
|
|
28
28
|
}
|
|
29
29
|
static get is() { return "dropi-card-section"; }
|
|
30
30
|
static get encapsulation() { return "shadow"; }
|
|
@@ -144,8 +144,8 @@ export class DropiCardSection {
|
|
|
144
144
|
}
|
|
145
145
|
static get events() {
|
|
146
146
|
return [{
|
|
147
|
-
"method": "
|
|
148
|
-
"name": "
|
|
147
|
+
"method": "dropiChange",
|
|
148
|
+
"name": "dropiChange",
|
|
149
149
|
"bubbles": true,
|
|
150
150
|
"cancelable": true,
|
|
151
151
|
"composed": true,
|
|
@@ -159,8 +159,8 @@ export class DropiCardSection {
|
|
|
159
159
|
"references": {}
|
|
160
160
|
}
|
|
161
161
|
}, {
|
|
162
|
-
"method": "
|
|
163
|
-
"name": "
|
|
162
|
+
"method": "dropiClick",
|
|
163
|
+
"name": "dropiClick",
|
|
164
164
|
"bubbles": true,
|
|
165
165
|
"cancelable": true,
|
|
166
166
|
"composed": true,
|
|
@@ -25,8 +25,8 @@ export class DropiCarousel {
|
|
|
25
25
|
totalPages = 0;
|
|
26
26
|
itemsContainer;
|
|
27
27
|
timer;
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
dropiPageChange;
|
|
29
|
+
dropiPage;
|
|
30
30
|
handleValue(val) {
|
|
31
31
|
this.parsedValue = typeof val === 'string' ? JSON.parse(val) : (val || []);
|
|
32
32
|
this.updateTotalPages();
|
|
@@ -98,7 +98,7 @@ export class DropiCarousel {
|
|
|
98
98
|
this.internalPage = (this.internalPage + 1) % this.totalPages;
|
|
99
99
|
this.page = this.internalPage;
|
|
100
100
|
this.updateTransform();
|
|
101
|
-
this.
|
|
101
|
+
this.dropiPageChange.emit(this.internalPage);
|
|
102
102
|
setTimeout(() => (this.isAnimating = false), 500);
|
|
103
103
|
}
|
|
104
104
|
};
|
|
@@ -110,7 +110,7 @@ export class DropiCarousel {
|
|
|
110
110
|
this.internalPage = (this.internalPage - 1 + this.totalPages) % this.totalPages;
|
|
111
111
|
this.page = this.internalPage;
|
|
112
112
|
this.updateTransform();
|
|
113
|
-
this.
|
|
113
|
+
this.dropiPageChange.emit(this.internalPage);
|
|
114
114
|
setTimeout(() => (this.isAnimating = false), 500);
|
|
115
115
|
}
|
|
116
116
|
};
|
|
@@ -119,7 +119,7 @@ export class DropiCarousel {
|
|
|
119
119
|
this.internalPage = index;
|
|
120
120
|
this.page = this.internalPage;
|
|
121
121
|
this.updateTransform();
|
|
122
|
-
this.
|
|
122
|
+
this.dropiPageChange.emit(this.internalPage);
|
|
123
123
|
setTimeout(() => (this.isAnimating = false), 500);
|
|
124
124
|
}
|
|
125
125
|
render() {
|
|
@@ -335,8 +335,8 @@ export class DropiCarousel {
|
|
|
335
335
|
}
|
|
336
336
|
static get events() {
|
|
337
337
|
return [{
|
|
338
|
-
"method": "
|
|
339
|
-
"name": "
|
|
338
|
+
"method": "dropiPageChange",
|
|
339
|
+
"name": "dropiPageChange",
|
|
340
340
|
"bubbles": true,
|
|
341
341
|
"cancelable": true,
|
|
342
342
|
"composed": true,
|
|
@@ -350,8 +350,8 @@ export class DropiCarousel {
|
|
|
350
350
|
"references": {}
|
|
351
351
|
}
|
|
352
352
|
}, {
|
|
353
|
-
"method": "
|
|
354
|
-
"name": "
|
|
353
|
+
"method": "dropiPage",
|
|
354
|
+
"name": "dropiPage",
|
|
355
355
|
"bubbles": true,
|
|
356
356
|
"cancelable": true,
|
|
357
357
|
"composed": true,
|
|
@@ -10,20 +10,20 @@ export class DropiCheckbox {
|
|
|
10
10
|
/** Whether the checkbox is disabled */
|
|
11
11
|
disabled = false;
|
|
12
12
|
/** Emitted when the checked state changes */
|
|
13
|
-
|
|
13
|
+
dropiChange;
|
|
14
14
|
changeState() {
|
|
15
15
|
if (this.disabled)
|
|
16
16
|
return;
|
|
17
17
|
this.checked = !this.checked;
|
|
18
|
-
this.
|
|
18
|
+
this.dropiChange.emit(this.checked);
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '071505574decbf6b138256f73affe101c01080ef', class: "container-dropi-checkbox", onClick: () => this.changeState() }, h("div", { key: '03e7ec24a87e22c4a5fe1d94cc4ca1fe349d6e6f', class: {
|
|
22
22
|
check: true,
|
|
23
23
|
isCheck: this.checked,
|
|
24
24
|
noCheck: !this.checked,
|
|
25
25
|
disabled: this.disabled,
|
|
26
|
-
} }, h("svg", { key: '
|
|
26
|
+
} }, h("svg", { key: 'c56f01268919995cc7aac0173edf44a01a62e13e', xmlns: "http://www.w3.org/2000/svg", width: "12", height: "12", viewBox: "0 0 24 24", fill: "none" }, h("path", { key: '575f863c9e82e862ea7049bf633b0d86ba374bb2', d: "M20.5991 5.69251L9.08325 17.2075C9.00583 17.2852 8.91382 17.3469 8.8125 17.389C8.71118 17.4311 8.60255 17.4527 8.49283 17.4527C8.38312 17.4527 8.27449 17.4311 8.17317 17.389C8.07185 17.3469 7.97984 17.2852 7.90242 17.2075L3.44908 12.75C3.37166 12.6723 3.27965 12.6106 3.17833 12.5685C3.07701 12.5264 2.96838 12.5048 2.85867 12.5048C2.74896 12.5048 2.64032 12.5264 2.53901 12.5685C2.43769 12.6106 2.34568 12.6723 2.26825 12.75C2.19052 12.8274 2.12884 12.9194 2.08676 13.0208C2.04467 13.1221 2.02301 13.2307 2.02301 13.3404C2.02301 13.4501 2.04467 13.5588 2.08676 13.6601C2.12884 13.7614 2.19052 13.8534 2.26825 13.9308L6.72325 18.385C7.19321 18.8541 7.83008 19.1175 8.49408 19.1175C9.15809 19.1175 9.79496 18.8541 10.2649 18.385L21.7799 6.87251C21.8575 6.7951 21.9191 6.70314 21.9611 6.6019C22.0031 6.50065 22.0247 6.39212 22.0247 6.28251C22.0247 6.17289 22.0031 6.06436 21.9611 5.96312C21.9191 5.86188 21.8575 5.76992 21.7799 5.69251C21.7025 5.61478 21.6105 5.5531 21.5092 5.51101C21.4078 5.46893 21.2992 5.44727 21.1895 5.44727C21.0798 5.44727 20.9712 5.46893 20.8698 5.51101C20.7685 5.5531 20.6765 5.61478 20.5991 5.69251Z", fill: "#FFFFFF" })))));
|
|
27
27
|
}
|
|
28
28
|
static get is() { return "dropi-checkbox"; }
|
|
29
29
|
static get encapsulation() { return "shadow"; }
|
|
@@ -84,8 +84,8 @@ export class DropiCheckbox {
|
|
|
84
84
|
}
|
|
85
85
|
static get events() {
|
|
86
86
|
return [{
|
|
87
|
-
"method": "
|
|
88
|
-
"name": "
|
|
87
|
+
"method": "dropiChange",
|
|
88
|
+
"name": "dropiChange",
|
|
89
89
|
"bubbles": true,
|
|
90
90
|
"cancelable": true,
|
|
91
91
|
"composed": true,
|