negodesign 0.0.73 → 0.0.75
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/README.md +133 -133
- package/dist/components/NegoDesign.svelte +21 -21
- package/dist/components/pages/admin/01/ui/AdminContent.svelte +14 -14
- package/dist/components/pages/admin/01/ui/AdminPanel.svelte +46 -46
- package/dist/components/pages/company-profile/shared/ProfileProducts.svelte +2 -2
- package/dist/components/pages/company-profile/types.d.ts +1 -1
- package/dist/components/pages/product-details/shared/ProductDetailFilesVertical.svelte +103 -103
- package/dist/components/pages/product-details/shared/ProductDetailPrice.svelte +3 -2
- package/dist/components/pages/product-details/shared/ProductDetailRating.svelte +2 -1
- package/dist/components/pages/product-details/shared/ProductDetailReviews.svelte +2 -1
- package/dist/components/pages/product-details/shared/ProductDetailTags.svelte +3 -2
- package/dist/components/pages/product-details/shared/ProductPromotionDetails.svelte +1 -1
- package/dist/components/pages/profile-user/shared/ProfileUserAddress.svelte +83 -83
- package/dist/components/pages/profile-user/shared/ProfileUserTabs.svelte +80 -80
- package/dist/components/pages/security/forget-password/01/ui/ForgetPasswordCard.svelte +2 -2
- package/dist/components/pages/security/forget-password/01/ui/FormForgetPassword.svelte +4 -4
- package/dist/components/pages/security/forget-password/01/ui/PageForgetPassword01.svelte +2 -2
- package/dist/components/pages/security/login/01/ui/FormLogin.svelte +11 -12
- package/dist/components/pages/security/login/01/ui/FormLogin.svelte.d.ts +2 -1
- package/dist/components/pages/security/login/01/ui/FormLoginEmailPassword.svelte +4 -3
- package/dist/components/pages/security/login/01/ui/FormLoginEmailPassword.svelte.d.ts +2 -1
- package/dist/components/pages/security/login/01/ui/FormLoginPhonePassword.svelte +4 -3
- package/dist/components/pages/security/login/01/ui/FormLoginPhonePassword.svelte.d.ts +2 -1
- package/dist/components/pages/security/login/01/ui/FormLoginUsernamePassword.svelte +4 -3
- package/dist/components/pages/security/login/01/ui/FormLoginUsernamePassword.svelte.d.ts +2 -1
- package/dist/components/pages/security/login/01/ui/FormRegister.svelte +28 -28
- package/dist/components/pages/security/login/01/ui/LoginCard.svelte +109 -107
- package/dist/components/pages/security/login/01/ui/LoginCard.svelte.d.ts +2 -1
- package/dist/components/pages/security/login/01/ui/PageLogin01.svelte +5 -3
- package/dist/components/pages/security/login/02/ui/FormLogin02.svelte +70 -0
- package/dist/components/pages/security/login/02/ui/FormLogin02.svelte.d.ts +10 -0
- package/dist/components/pages/security/login/02/ui/FormLoginEmailPassword02.svelte +24 -0
- package/dist/components/pages/security/login/02/ui/FormLoginEmailPassword02.svelte.d.ts +9 -0
- package/dist/components/pages/security/login/02/ui/FormLoginPhonePassword02.svelte +24 -0
- package/dist/components/pages/security/login/02/ui/FormLoginPhonePassword02.svelte.d.ts +9 -0
- package/dist/components/pages/security/login/02/ui/FormLoginUsernamePassword02.svelte +24 -0
- package/dist/components/pages/security/login/02/ui/FormLoginUsernamePassword02.svelte.d.ts +9 -0
- package/dist/components/pages/security/login/02/ui/LeftHero02.svelte +111 -0
- package/dist/components/pages/security/login/02/ui/LeftHero02.svelte.d.ts +10 -0
- package/dist/components/pages/security/login/02/ui/LoginCard02.svelte +107 -0
- package/dist/components/pages/security/login/02/ui/LoginCard02.svelte.d.ts +13 -0
- package/dist/components/pages/security/login/02/ui/PageLogin02.svelte +69 -0
- package/dist/components/pages/security/login/02/ui/PageLogin02.svelte.d.ts +4 -0
- package/dist/components/pages/security/login/03/ui/FormLogin03.svelte +87 -0
- package/dist/components/pages/security/login/03/ui/FormLogin03.svelte.d.ts +10 -0
- package/dist/components/pages/security/login/03/ui/FormLoginEmailPassword03.svelte +24 -0
- package/dist/components/pages/security/login/03/ui/FormLoginEmailPassword03.svelte.d.ts +9 -0
- package/dist/components/pages/security/login/03/ui/FormLoginPhonePassword03.svelte +24 -0
- package/dist/components/pages/security/login/03/ui/FormLoginPhonePassword03.svelte.d.ts +9 -0
- package/dist/components/pages/security/login/03/ui/FormLoginUsernamePassword03.svelte +24 -0
- package/dist/components/pages/security/login/03/ui/FormLoginUsernamePassword03.svelte.d.ts +9 -0
- package/dist/components/pages/security/login/03/ui/LeftHero03.svelte +114 -0
- package/dist/components/pages/security/login/03/ui/LeftHero03.svelte.d.ts +10 -0
- package/dist/components/pages/security/login/03/ui/LoginCard03.svelte +134 -0
- package/dist/components/pages/security/login/03/ui/LoginCard03.svelte.d.ts +13 -0
- package/dist/components/pages/security/login/03/ui/PageLogin03.svelte +69 -0
- package/dist/components/pages/security/login/03/ui/PageLogin03.svelte.d.ts +4 -0
- package/dist/components/pages/security/login/PageLogin.svelte +30 -22
- package/dist/components/pages/security/login/PageLogin.svelte.d.ts +1 -1
- package/dist/components/pages/security/login/types.d.ts +12 -2
- package/dist/components/pages/security/otp-verification/01/ui/FormOtpVerification.svelte +2 -2
- package/dist/components/pages/security/otp-verification/01/ui/OtpVerificationCard.svelte +2 -2
- package/dist/components/pages/security/otp-verification/01/ui/PageOtpVerification01.svelte +2 -2
- package/dist/components/pages/security/reset-password/01/ui/FormResetPassword.svelte +4 -4
- package/dist/components/pages/security/reset-password/01/ui/PageResetPassword01.svelte +2 -2
- package/dist/components/pages/security/reset-password/01/ui/ResetPasswordCard.svelte +2 -2
- package/dist/components/ui/avatar/avatar-fallback.svelte +29 -29
- package/dist/components/ui/avatar/avatar-image.svelte +38 -38
- package/dist/components/ui/avatar/avatar.svelte +39 -39
- package/dist/components/ui/badge/badge.svelte +46 -46
- package/dist/components/{core → ui}/banner/AdCardBanner.svelte +74 -74
- package/dist/components/{core → ui}/banner/CtaCardBanner.svelte +118 -118
- package/dist/components/{core → ui}/banner/CtaCardImageBanner.svelte +94 -94
- package/dist/components/{core/breadcrumb → ui/breadcrumb/core}/breadcrumb-list.svelte +31 -31
- package/dist/components/{core → ui}/button/ButtonBack.svelte +18 -18
- package/dist/components/{core → ui}/button/ButtonBack.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/button/ButtonLogin.svelte +15 -15
- package/dist/components/{core → ui}/button/ButtonLogin.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/button/ButtonLoginWith.svelte +57 -57
- package/dist/components/{core → ui}/button/ButtonLoginWith.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/button/ButtonSend.svelte +15 -15
- package/dist/components/{core → ui}/button/ButtonSend.svelte.d.ts +1 -1
- package/dist/components/ui/button/button.svelte +85 -85
- package/dist/components/{core/card → ui/card/core}/highlight/01/CardHighlight01.svelte +103 -103
- package/dist/components/{core/card → ui/card/core}/highlight/02/CardHighlight02.svelte +99 -99
- package/dist/components/{core/card → ui/card/core}/highlight/CardHighlight.svelte +22 -22
- package/dist/components/{core/card → ui/card/core}/media/01/CardMedia01.svelte +133 -133
- package/dist/components/{core/card → ui/card/core}/media/02/CardMedia02.svelte +127 -127
- package/dist/components/{core/card → ui/card/core}/media/CardMedia.svelte +18 -18
- package/dist/components/{core/card → ui/card/core}/product/01/CardProduct01.svelte +136 -136
- package/dist/components/{core/card → ui/card/core}/product/02/CardProduct02.svelte +124 -124
- package/dist/components/{core/card → ui/card/core}/product/CardProduct.svelte +22 -22
- package/dist/components/{core/card → ui/card/core}/profile/01/CardProfile01.svelte +134 -134
- package/dist/components/{core/card → ui/card/core}/profile/02/CardProfile02.svelte +132 -132
- package/dist/components/{core/card → ui/card/core}/profile/CardProfile.svelte +18 -18
- package/dist/components/{core/card → ui/card/core}/promotion/CardPromotion.svelte +139 -139
- package/dist/components/{core/card → ui/card/core}/promotion/CardPromotionPrice.svelte +32 -32
- package/dist/components/{core/card → ui/card/core}/shared/CardButton.svelte +42 -42
- package/dist/components/{core/card → ui/card/core}/shared/CardCart.svelte +36 -36
- package/dist/components/{core/card → ui/card/core}/shared/CardDescription.svelte +41 -41
- package/dist/components/{core/card → ui/card/core}/shared/CardFavorite.svelte +33 -33
- package/dist/components/{core/card → ui/card/core}/shared/CardLogo.svelte +19 -19
- package/dist/components/{core/card → ui/card/core}/shared/CardPhoneOrWhatsapp.svelte +45 -45
- package/dist/components/{core/card → ui/card/core}/shared/CardStarRating.svelte +24 -24
- package/dist/components/{core/card → ui/card/core}/shared/CardTags.svelte +95 -95
- package/dist/components/{core/card → ui/card/core}/shared/CardThumbnailVideo.svelte +232 -232
- package/dist/components/{core/card → ui/card/core}/shared/CardTitlePrice.svelte +24 -24
- package/dist/components/{core/card → ui/card/core}/shared/TruncatableText.svelte +49 -49
- package/dist/components/ui/carousel/carousel-content.svelte +56 -56
- package/dist/components/ui/carousel/carousel-item.svelte +29 -29
- package/dist/components/ui/carousel/carousel-next.svelte +40 -40
- package/dist/components/ui/carousel/carousel-previous.svelte +40 -40
- package/dist/components/ui/carousel/carousel.svelte +225 -225
- package/dist/components/{core/carousel → ui/carousel/core}/badge/ui/CarouselBadge.svelte +108 -108
- package/dist/components/{core/carousel → ui/carousel/core}/grid/media/types.d.ts +3 -3
- package/dist/components/{core/carousel → ui/carousel/core}/grid/media/ui/CarouselGridMedia.svelte +6 -6
- package/dist/components/{core/carousel → ui/carousel/core}/grid/media/ui/CarouselGridMedia.svelte.d.ts +1 -1
- package/dist/components/{core/carousel → ui/carousel/core}/grid/product/types.d.ts +3 -3
- package/dist/components/{core/carousel → ui/carousel/core}/grid/product/ui/CarouselGridProduct.svelte +5 -5
- package/dist/components/{core/carousel → ui/carousel/core}/grid/profile/types.d.ts +2 -2
- package/dist/components/{core/carousel → ui/carousel/core}/grid/profile/ui/CarouselGridProfile.svelte +6 -6
- package/dist/components/{core/carousel → ui/carousel/core}/grid/profile/ui/CarouselGridProfile.svelte.d.ts +1 -1
- package/dist/components/{core/carousel → ui/carousel/core}/grid/promotion/types.d.ts +2 -2
- package/dist/components/{core/carousel → ui/carousel/core}/grid/promotion/ui/CarouselGridPromotion.svelte +5 -5
- package/dist/components/{core/carousel → ui/carousel/core}/grid/shared/ui/CarouselGridSlot.svelte +38 -38
- package/dist/components/{core/carousel → ui/carousel/core}/grid/shared/ui/CarouselGridSlot.svelte.d.ts +2 -2
- package/dist/components/{core/carousel → ui/carousel/core}/hero/types.d.ts +2 -2
- package/dist/components/{core/carousel → ui/carousel/core}/hero/ui/CarouselHero.svelte +181 -181
- package/dist/components/{core/carousel → ui/carousel/core}/highlights/types.d.ts +2 -2
- package/dist/components/{core/carousel → ui/carousel/core}/highlights/ui/CarouselHighlights.svelte +67 -67
- package/dist/components/{core/carousel → ui/carousel/core}/product/types.d.ts +2 -2
- package/dist/components/{core/carousel → ui/carousel/core}/product/ui/CarouselProduct.svelte +57 -57
- package/dist/components/{core/carousel → ui/carousel/core}/promotion/types.d.ts +2 -2
- package/dist/components/{core/carousel → ui/carousel/core}/promotion/ui/CarouselPromotion.svelte +67 -67
- package/dist/components/{core/carousel → ui/carousel/core}/shared/ui/CarouselHeader.svelte +59 -59
- package/dist/components/ui/checkbox/checkbox.svelte +96 -96
- package/dist/components/ui/collapsible/collapsible-content.svelte +30 -30
- package/dist/components/ui/collapsible/collapsible-trigger.svelte +51 -51
- package/dist/components/ui/collapsible/collapsible.svelte +66 -66
- package/dist/components/ui/data-table/flex-render.svelte +40 -40
- package/dist/components/{core → ui}/datatable/data/columns-create.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/data/columns-create.js +1 -1
- package/dist/components/{core → ui}/datatable/data/data-table.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/data/resolve-cell-badge.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/data/resolve-cell-badge.svelte.js +2 -2
- package/dist/components/{core → ui}/datatable/data/resolve-cell.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/data/resolve-cell.svelte.js +1 -1
- package/dist/components/{core → ui}/datatable/data/resolve-header.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/data/resolve-header.svelte.js +1 -1
- package/dist/components/{core → ui}/datatable/ui/DataTableActions.svelte +28 -28
- package/dist/components/{core → ui}/datatable/ui/DataTableActions.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/ui/DataTableCheckbox.svelte +22 -22
- package/dist/components/{core → ui}/datatable/ui/DataTableContent.svelte +59 -59
- package/dist/components/{core → ui}/datatable/ui/DataTableContent.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/ui/DataTableCore.svelte +148 -148
- package/dist/components/{core → ui}/datatable/ui/DataTableDragHandle.svelte +8 -8
- package/dist/components/{core → ui}/datatable/ui/DataTableListFilter.svelte +60 -60
- package/dist/components/{core → ui}/datatable/ui/DataTableListFilter.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/ui/DataTableListPagination.svelte +35 -35
- package/dist/components/{core → ui}/datatable/ui/DataTableListPagination.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/ui/columns-create.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/datatable/ui/columns-create.svelte.js +1 -1
- package/dist/components/ui/drawer/drawer-close.svelte +41 -41
- package/dist/components/ui/drawer/drawer-content.svelte +81 -81
- package/dist/components/ui/drawer/drawer-description.svelte +19 -19
- package/dist/components/ui/drawer/drawer-footer.svelte +20 -20
- package/dist/components/ui/drawer/drawer-header.svelte +20 -20
- package/dist/components/ui/drawer/drawer-nested.svelte +34 -34
- package/dist/components/ui/drawer/drawer-overlay.svelte +25 -25
- package/dist/components/ui/drawer/drawer-portal.svelte +19 -19
- package/dist/components/ui/drawer/drawer-title.svelte +19 -19
- package/dist/components/ui/drawer/drawer-trigger.svelte +42 -42
- package/dist/components/ui/drawer/drawer.svelte +74 -74
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-group.svelte +25 -25
- package/dist/components/ui/dropdown-menu/dropdown-menu-checkbox-item.svelte +69 -69
- package/dist/components/ui/dropdown-menu/dropdown-menu-content.svelte +106 -106
- package/dist/components/ui/dropdown-menu/dropdown-menu-group-heading.svelte +27 -27
- package/dist/components/ui/dropdown-menu/dropdown-menu-group.svelte +21 -21
- package/dist/components/ui/dropdown-menu/dropdown-menu-item.svelte +60 -60
- package/dist/components/ui/dropdown-menu/dropdown-menu-label.svelte +27 -27
- package/dist/components/ui/dropdown-menu/dropdown-menu-portal.svelte +6 -6
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte +43 -43
- package/dist/components/ui/dropdown-menu/dropdown-menu-radio-item.svelte +70 -70
- package/dist/components/ui/dropdown-menu/dropdown-menu-separator.svelte +20 -20
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-content.svelte +33 -33
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub-trigger.svelte +57 -57
- package/dist/components/ui/dropdown-menu/dropdown-menu-sub.svelte +76 -76
- package/dist/components/ui/dropdown-menu/dropdown-menu-trigger.svelte +68 -68
- package/dist/components/ui/dropdown-menu/dropdown-menu.svelte +53 -53
- package/dist/components/ui/empty/empty-content.svelte +19 -19
- package/dist/components/ui/empty/empty-description.svelte +19 -19
- package/dist/components/ui/empty/empty-header.svelte +19 -19
- package/dist/components/ui/empty/empty-media.svelte +41 -41
- package/dist/components/ui/empty/empty-title.svelte +19 -19
- package/dist/components/ui/empty/empty.svelte +19 -19
- package/dist/components/{core → ui}/footer/ui/Footer.svelte +18 -18
- package/dist/components/ui/form/Form.svelte +171 -0
- package/dist/components/ui/form/Form.svelte.d.ts +4 -0
- package/dist/components/ui/form/types.d.ts +78 -0
- package/dist/components/ui/form/ui/input-badges.svelte +214 -0
- package/dist/components/ui/form/ui/input-badges.svelte.d.ts +14 -0
- package/dist/components/{core → ui}/form/ui/input-base.svelte +81 -81
- package/dist/components/{core → ui}/form/ui/input-base.svelte.d.ts +1 -1
- package/dist/components/ui/form/ui/input-checkbox.svelte +86 -0
- package/dist/components/ui/form/ui/input-checkbox.svelte.d.ts +17 -0
- package/dist/components/{core → ui}/form/ui/input-code-otp.svelte +3 -3
- package/dist/components/{core → ui}/form/ui/input-code-otp.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/form/ui/input-email-or-phone.svelte +23 -23
- package/dist/components/{core → ui}/form/ui/input-email-or-phone.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/form/ui/input-email.svelte +23 -23
- package/dist/components/{core → ui}/form/ui/input-email.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/form/ui/input-password-confirm.svelte +23 -23
- package/dist/components/{core → ui}/form/ui/input-password-confirm.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/form/ui/input-password.svelte +23 -23
- package/dist/components/{core → ui}/form/ui/input-password.svelte.d.ts +1 -1
- package/dist/components/{core → ui}/form/ui/input-phone.svelte +33 -33
- package/dist/components/{core → ui}/form/ui/input-phone.svelte.d.ts +1 -1
- package/dist/components/ui/form/ui/input-radio.svelte +82 -0
- package/dist/components/ui/form/ui/input-radio.svelte.d.ts +17 -0
- package/dist/components/ui/form/ui/input-select.svelte +195 -0
- package/dist/components/ui/form/ui/input-select.svelte.d.ts +17 -0
- package/dist/components/ui/form/ui/input-textarea.svelte +61 -0
- package/dist/components/ui/form/ui/input-textarea.svelte.d.ts +13 -0
- package/dist/components/ui/form/ui/input-toggle.svelte +89 -0
- package/dist/components/ui/form/ui/input-toggle.svelte.d.ts +11 -0
- package/dist/components/{core → ui}/form/ui/input-username.svelte +22 -22
- package/dist/components/{core → ui}/form/ui/input-username.svelte.d.ts +1 -1
- package/dist/components/{core/grid → ui/grid/core}/ui/01/Grid01.svelte +30 -30
- package/dist/components/{core/grid → ui/grid/core}/ui/02/Grid02.svelte +30 -30
- package/dist/components/{core/grid → ui/grid/core}/ui/ItemsPanel.svelte +26 -26
- package/dist/components/{core/grid → ui/grid/core}/ui/ItemsPanelCarousel.svelte +37 -37
- package/dist/components/{core/grid → ui/grid/core}/ui/ItemsPanelGrid.svelte +43 -43
- package/dist/components/{core/grid → ui/grid/core}/ui/ItemsSimpleGrid.svelte +45 -45
- package/dist/components/{core/grid → ui/grid/core}/ui/shared/DescriptionGrid.svelte +23 -23
- package/dist/components/{core/grid → ui/grid/core}/ui/shared/IconRenderGrid.svelte +23 -23
- package/dist/components/{core/grid → ui/grid/core}/ui/shared/TitleGrid.svelte +19 -19
- package/dist/components/{core → ui}/hero/SimpleHero.svelte +65 -65
- package/dist/components/ui/input-otp/input-otp-group.svelte +22 -22
- package/dist/components/ui/input-otp/input-otp-separator.svelte +27 -27
- package/dist/components/ui/input-otp/input-otp-slot.svelte +63 -63
- package/dist/components/ui/input-otp/input-otp.svelte +181 -181
- package/dist/components/{core/label → ui/label/core}/LabelOr.svelte +25 -25
- package/dist/components/ui/label/label.svelte +19 -19
- package/dist/components/ui/language-switcher/language-switcher.svelte +48 -48
- package/dist/components/ui/light-switch/light-switch.svelte +48 -48
- package/dist/components/{core → ui}/link/link-forget-password.svelte +12 -12
- package/dist/components/{core → ui}/link/link-privacy-polity.svelte +12 -12
- package/dist/components/{core → ui}/link/link-terms-of-service.svelte +12 -12
- package/dist/components/ui/modal/badge/index.d.ts +3 -0
- package/dist/components/ui/modal/badge/index.js +2 -0
- package/dist/components/ui/modal/badge/types.d.ts +35 -0
- package/dist/components/ui/modal/badge/ui/ModalBadgeSelection.svelte +87 -0
- package/dist/components/ui/modal/badge/ui/ModalBadgeSelection.svelte.d.ts +4 -0
- package/dist/components/ui/modal/core/index.d.ts +3 -0
- package/dist/components/ui/modal/core/index.js +2 -0
- package/dist/components/ui/modal/core/types.d.ts +82 -0
- package/dist/components/ui/modal/core/ui/ModalCore.svelte +129 -0
- package/dist/components/ui/modal/core/ui/ModalCore.svelte.d.ts +4 -0
- package/dist/components/ui/modal/feedback/index.d.ts +3 -0
- package/dist/components/ui/modal/feedback/index.js +2 -0
- package/dist/components/ui/modal/feedback/types.d.ts +32 -0
- package/dist/components/ui/modal/feedback/ui/ModalFeedback.svelte +135 -0
- package/dist/components/ui/modal/feedback/ui/ModalFeedback.svelte.d.ts +4 -0
- package/dist/components/ui/modal/form/index.d.ts +3 -0
- package/dist/components/ui/modal/form/index.js +2 -0
- package/dist/components/ui/modal/form/types.d.ts +38 -0
- package/dist/components/ui/modal/form/ui/ModalForm.svelte +67 -0
- package/dist/components/ui/modal/form/ui/ModalForm.svelte.d.ts +4 -0
- package/dist/components/ui/modal/grid/index.d.ts +5 -0
- package/dist/components/ui/modal/grid/index.js +4 -0
- package/dist/components/ui/modal/grid/types.d.ts +51 -0
- package/dist/components/ui/modal/grid/ui/01/ModalGridSelection01.svelte +83 -0
- package/dist/components/ui/modal/grid/ui/01/ModalGridSelection01.svelte.d.ts +4 -0
- package/dist/components/ui/modal/grid/ui/02/ModalGridSelection02.svelte +142 -0
- package/dist/components/ui/modal/grid/ui/02/ModalGridSelection02.svelte.d.ts +4 -0
- package/dist/components/ui/modal/grid/ui/ModalGridSelection.svelte +60 -0
- package/dist/components/ui/modal/grid/ui/ModalGridSelection.svelte.d.ts +4 -0
- package/dist/components/ui/modal/map/index.d.ts +3 -0
- package/dist/components/ui/modal/map/index.js +2 -0
- package/dist/components/ui/modal/map/types.d.ts +48 -0
- package/dist/components/ui/modal/map/ui/ModalMap.svelte +187 -0
- package/dist/components/ui/modal/map/ui/ModalMap.svelte.d.ts +4 -0
- package/dist/components/ui/modal/notification/index.d.ts +3 -0
- package/dist/components/ui/modal/notification/index.js +2 -0
- package/dist/components/ui/modal/notification/types.d.ts +26 -0
- package/dist/components/ui/modal/notification/ui/ModalNotification.svelte +65 -0
- package/dist/components/ui/modal/notification/ui/ModalNotification.svelte.d.ts +4 -0
- package/dist/components/ui/modal/share/index.d.ts +3 -0
- package/dist/components/ui/modal/share/index.js +2 -0
- package/dist/components/ui/modal/share/types.d.ts +32 -0
- package/dist/components/ui/modal/share/ui/ModalShareSelection.svelte +103 -0
- package/dist/components/ui/modal/share/ui/ModalShareSelection.svelte.d.ts +4 -0
- package/dist/components/ui/modal/upload/index.d.ts +3 -0
- package/dist/components/ui/modal/upload/index.js +2 -0
- package/dist/components/ui/modal/upload/types.d.ts +79 -0
- package/dist/components/ui/modal/upload/ui/ModalUpload.svelte +268 -0
- package/dist/components/ui/modal/upload/ui/ModalUpload.svelte.d.ts +4 -0
- package/dist/components/ui/nav/data/nav-menu.js +1 -0
- package/dist/components/ui/nav/data/types.js +1 -0
- package/dist/components/{core → ui}/nav/ui/ComplexMenu.svelte +51 -51
- package/dist/components/{core → ui}/nav/ui/Menu.svelte +72 -72
- package/dist/components/{core → ui}/nav/ui/SimpleMenu.svelte +14 -14
- package/dist/components/{core → ui}/nav/ui/mobile/ComplexMenuMobile.svelte +125 -125
- package/dist/components/{core → ui}/nav/ui/mobile/MenuMobile.svelte +54 -54
- package/dist/components/{core → ui}/nav/ui/mobile/SimpleMenuMobile.svelte +1 -1
- package/dist/components/{core → ui}/nav/ui/shared/CollapsibleNavMenu.svelte +1 -1
- package/dist/components/{core → ui}/nav/ui/shared/MenuButton.svelte +51 -51
- package/dist/components/{core → ui}/nav/ui/shared/MenuLinks.svelte +40 -40
- package/dist/components/{core → ui}/nav/ui/shared/MenuListItem.svelte +44 -44
- package/dist/components/{core → ui}/nav/ui/shared/MenuLogo.svelte +13 -13
- package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItem.svelte +1 -1
- package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItemCard.svelte +1 -1
- package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItemGrid.svelte +30 -30
- package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItemList.svelte +1 -1
- package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItems.svelte +1 -1
- package/dist/components/{core → ui}/nav/ui/shared/navigation/NavDropdown.svelte +87 -87
- package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItem.svelte +17 -17
- package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItemCard.svelte +53 -53
- package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItemGrid.svelte +36 -36
- package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItemList.svelte +24 -24
- package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItems.svelte +21 -21
- package/dist/components/{core → ui}/panel/CarouselSlot.svelte +57 -57
- package/dist/components/{core → ui}/panel/LeftHero.svelte +114 -117
- package/dist/components/{core → ui}/panel/LeftHero.svelte.d.ts +0 -1
- package/dist/components/{core → ui}/panel/NotFoundEmpty.svelte +66 -66
- package/dist/components/{core → ui}/panel/type.d.ts +1 -1
- package/dist/components/ui/panel/type.js +1 -0
- package/dist/components/ui/phone-input/country-selector.svelte +86 -86
- package/dist/components/ui/phone-input/flag.svelte +11 -11
- package/dist/components/ui/phone-input/phone-input.svelte +147 -147
- package/dist/components/ui/popover/popover-close.svelte +25 -25
- package/dist/components/ui/popover/popover-content.svelte +92 -92
- package/dist/components/ui/popover/popover-portal.svelte +6 -6
- package/dist/components/ui/popover/popover-trigger.svelte +68 -68
- package/dist/components/ui/popover/popover.svelte +53 -53
- package/dist/components/{core → ui}/search/SearchInput.svelte +32 -32
- package/dist/components/{core → ui}/search/shared/SearchInputCore.svelte +66 -66
- package/dist/components/ui/search/types.js +1 -0
- package/dist/components/ui/section/Section01.svelte +90 -0
- package/dist/components/ui/section/Section01.svelte.d.ts +4 -0
- package/dist/components/ui/section/Section02.svelte +68 -0
- package/dist/components/ui/section/Section02.svelte.d.ts +4 -0
- package/dist/components/ui/section/Section03.svelte +52 -0
- package/dist/components/ui/section/Section03.svelte.d.ts +4 -0
- package/dist/components/ui/section/index.d.ts +4 -0
- package/dist/components/ui/section/index.js +3 -0
- package/dist/components/ui/section/types.d.ts +46 -0
- package/dist/components/ui/section/types.js +1 -0
- package/dist/components/ui/separator/separator.svelte +28 -28
- package/dist/components/{core/sidebar → ui/sidebar/core}/MenuBarSidebar.svelte +70 -70
- package/dist/components/{core/sidebar → ui/sidebar/core}/MenuBarSidebar.svelte.d.ts +1 -1
- package/dist/components/ui/sidebar/core/data/nav-menu-sidebar.js +1 -0
- package/dist/components/ui/sidebar/core/data/nav-top-bar-sidebar.js +1 -0
- package/dist/components/ui/sidebar/core/data/nav-user-sidebar.js +1 -0
- package/dist/components/ui/sidebar/core/types.js +1 -0
- package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavMenuBarSidebar.svelte +97 -97
- package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavMenuBottomSidebar.svelte +33 -33
- package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavMenuBottomSidebar.svelte.d.ts +2 -2
- package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavMenuTopBarSidebar.svelte +101 -101
- package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavUserSidebar.svelte +6 -6
- package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavUserSidebar.svelte.d.ts +1 -1
- package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/nav-menu-header-sidebar.svelte +77 -77
- package/dist/components/ui/sidebar/sidebar-content.svelte +24 -24
- package/dist/components/ui/sidebar/sidebar-footer.svelte +21 -21
- package/dist/components/ui/sidebar/sidebar-group-content.svelte +21 -21
- package/dist/components/ui/sidebar/sidebar-menu-action.svelte +38 -38
- package/dist/components/ui/sidebar/sidebar-menu-button.svelte +70 -70
- package/dist/components/ui/sidebar/sidebar-menu-sub-button.svelte +39 -39
- package/dist/components/ui/sidebar/sidebar-provider.svelte +62 -62
- package/dist/components/ui/sidebar/sidebar-rail.svelte +36 -36
- package/dist/components/ui/sidebar/sidebar-separator.svelte +21 -21
- package/dist/components/ui/sidebar/sidebar-trigger.svelte +36 -36
- package/dist/components/ui/sidebar/sidebar.svelte +118 -118
- package/dist/components/ui/skeleton/skeleton.svelte +19 -19
- package/dist/components/ui/social-login/social-login.svelte +79 -0
- package/dist/components/ui/social-login/social-login.svelte.d.ts +10 -0
- package/dist/components/ui/star-rating/star-rating-star.svelte +66 -66
- package/dist/components/ui/star-rating/star-rating.svelte +149 -149
- package/dist/components/ui/table/table-body.svelte +15 -15
- package/dist/components/ui/table/table-caption.svelte +20 -20
- package/dist/components/ui/table/table-cell.svelte +15 -15
- package/dist/components/ui/table/table-footer.svelte +20 -20
- package/dist/components/ui/table/table-head.svelte +15 -15
- package/dist/components/ui/table/table-header.svelte +20 -20
- package/dist/components/ui/table/table-row.svelte +15 -15
- package/dist/components/ui/table/table.svelte +17 -17
- package/dist/components/ui/tabs/data/TabModel.js +1 -0
- package/dist/components/ui/tabs/types.js +1 -0
- package/dist/components/{core → ui}/tabs/ui/tab-underline.svelte +43 -43
- package/dist/components/ui/underline-tabs/underline-tabs-content.svelte +33 -33
- package/dist/components/ui/underline-tabs/underline-tabs-list.svelte +40 -40
- package/dist/components/ui/underline-tabs/underline-tabs-trigger.svelte +91 -91
- package/dist/components/ui/underline-tabs/underline-tabs.svelte +61 -61
- package/dist/docs/ApiTable.svelte +42 -42
- package/dist/docs/CodeBlock.svelte +26 -26
- package/dist/docs/DocsHeader.svelte +25 -25
- package/dist/docs/DocsSidebar.svelte +98 -98
- package/dist/docs/components.d.ts +1 -1
- package/dist/docs/components.js +1112 -230
- package/dist/globals.css +530 -0
- package/dist/i18n/langs/en.d.ts +9 -0
- package/dist/i18n/langs/en.js +9 -0
- package/dist/i18n/langs/pt.d.ts +9 -0
- package/dist/i18n/langs/pt.js +9 -0
- package/dist/i18n/translations.d.ts +18 -0
- package/dist/index.d.ts +197 -28
- package/dist/index.js +197 -28
- package/dist/styles/globals.css +283 -283
- package/dist/types/index.d.ts +68 -22
- package/package.json +81 -81
- /package/dist/components/{core → ui}/banner/AdCardBanner.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/banner/CtaCardBanner.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/banner/CtaCardImageBanner.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/banner/NotificationBanner.svelte +0 -0
- /package/dist/components/{core → ui}/banner/NotificationBanner.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/banner/types.d.ts +0 -0
- /package/dist/components/{core → ui}/banner/types.js +0 -0
- /package/dist/components/{core/breadcrumb → ui/breadcrumb/core}/breadcrumb-list.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/highlight/01/CardHighlight01.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/highlight/02/CardHighlight02.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/highlight/CardHighlight.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/highlight/data.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/highlight/data.js +0 -0
- /package/dist/components/{core/card → ui/card/core}/media/01/CardMedia01.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/media/02/CardMedia02.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/media/CardMedia.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/media/data.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/media/data.js +0 -0
- /package/dist/components/{core/card → ui/card/core}/product/01/CardProduct01.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/product/02/CardProduct02.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/product/CardProduct.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/product/data.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/product/data.js +0 -0
- /package/dist/components/{core/card → ui/card/core}/profile/01/CardProfile01.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/profile/02/CardProfile02.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/profile/CardProfile.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/profile/data.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/profile/data.js +0 -0
- /package/dist/components/{core/card → ui/card/core}/promotion/CardPromotion.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/promotion/CardPromotionPrice.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/promotion/data.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/promotion/data.js +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardButton.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardCart.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardDescription.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardFavorite.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardLogo.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardPhoneOrWhatsapp.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardStarRating.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardTags.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardThumbnailVideo.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/CardTitlePrice.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/shared/TruncatableText.svelte.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/types.d.ts +0 -0
- /package/dist/components/{core/card → ui/card/core}/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/badge/type.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/badge/type.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/badge/ui/CarouselBadge.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/grid/media/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/grid/product/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/grid/product/ui/CarouselGridProduct.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/grid/profile/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/grid/promotion/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/grid/promotion/ui/CarouselGridPromotion.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/hero/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/hero/ui/CarouselHero.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/highlights/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/highlights/ui/CarouselHighlights.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/product/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/product/ui/CarouselProduct.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/promotion/types.js +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/promotion/ui/CarouselPromotion.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/shared/ui/CarouselHeader.svelte.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/types.d.ts +0 -0
- /package/dist/components/{core/carousel → ui/carousel/core}/types.js +0 -0
- /package/dist/components/{core → ui}/datatable/data/data-table.js +0 -0
- /package/dist/components/{core → ui}/datatable/ui/DataTableCheckbox.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/datatable/ui/DataTableCore.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/datatable/ui/DataTableDragHandle.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/footer/types.d.ts +0 -0
- /package/dist/components/{core → ui}/footer/types.js +0 -0
- /package/dist/components/{core → ui}/footer/ui/01/Footer01.svelte +0 -0
- /package/dist/components/{core → ui}/footer/ui/01/Footer01.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/footer/ui/02/Footer02.svelte +0 -0
- /package/dist/components/{core → ui}/footer/ui/02/Footer02.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/footer/ui/Footer.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/footer/ui/shared/FooterColumn.svelte +0 -0
- /package/dist/components/{core → ui}/footer/ui/shared/FooterColumn.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/footer/ui/shared/FooterNewsLetter.svelte +0 -0
- /package/dist/components/{core → ui}/footer/ui/shared/FooterNewsLetter.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/footer/ui/shared/FooterSocialIcon.svelte +0 -0
- /package/dist/components/{core → ui}/footer/ui/shared/FooterSocialIcon.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/form/data/InputIconDefault.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/form/data/InputIconDefault.svelte.js +0 -0
- /package/dist/components/{core → ui}/form/data/InputLabel.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/form/data/InputLabel.svelte.js +0 -0
- /package/dist/components/{core/grid/data → ui/form}/types.js +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/data/types.d.ts +0 -0
- /package/dist/components/{core/hero → ui/grid/core/data}/types.js +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/01/Grid01.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/02/Grid02.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/ItemsPanel.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/ItemsPanelCarousel.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/ItemsPanelGrid.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/ItemsSimpleGrid.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/shared/DescriptionGrid.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/shared/IconRenderGrid.svelte.d.ts +0 -0
- /package/dist/components/{core/grid → ui/grid/core}/ui/shared/TitleGrid.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/hero/SimpleHero.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/hero/types.d.ts +0 -0
- /package/dist/components/{core/nav/data → ui/hero}/types.js +0 -0
- /package/dist/components/{core/label → ui/label/core}/LabelOr.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/link/link-forget-password.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/link/link-privacy-polity.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/link/link-terms-of-service.svelte.d.ts +0 -0
- /package/dist/components/{core/search → ui/modal/badge}/types.js +0 -0
- /package/dist/components/{core/sidebar → ui/modal/core}/types.js +0 -0
- /package/dist/components/{core/tabs → ui/modal/feedback}/types.js +0 -0
- /package/dist/components/{core/nav/data/nav-menu.js → ui/modal/form/types.js} +0 -0
- /package/dist/components/{core/panel/type.js → ui/modal/grid/types.js} +0 -0
- /package/dist/components/{core/sidebar/data/nav-menu-sidebar.js → ui/modal/map/types.js} +0 -0
- /package/dist/components/{core/sidebar/data/nav-top-bar-sidebar.js → ui/modal/notification/types.js} +0 -0
- /package/dist/components/{core/sidebar/data/nav-user-sidebar.js → ui/modal/share/types.js} +0 -0
- /package/dist/components/{core/tabs/data/TabModel.js → ui/modal/upload/types.js} +0 -0
- /package/dist/components/{core → ui}/nav/data/complex-menu-utils.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/data/complex-menu-utils.js +0 -0
- /package/dist/components/{core → ui}/nav/data/nav-menu.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/data/types.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/ComplexMenu.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/Menu.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/SimpleMenu.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/mobile/ComplexMenuMobile.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/mobile/MenuMobile.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/mobile/SimpleMenuMobile.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/CollapsibleNavMenu.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/MenuButton.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/MenuLinks.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/MenuListItem.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/MenuLogo.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/NavMenuItem.svelte +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/NavMenuItem.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownMenuListItem.svelte +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownMenuListItem.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItem.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItemCard.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItemGrid.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItemList.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/dropdown/DropdownNavigationMenuItems.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/navigation/NavDropdown.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItem.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItemCard.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItemGrid.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItemList.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/nav/ui/shared/navigation/NavigationMenuItems.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/panel/CarouselSlot.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/panel/NotFoundEmpty.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/search/01/Search01.svelte +0 -0
- /package/dist/components/{core → ui}/search/01/Search01.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/search/02/Search02.svelte +0 -0
- /package/dist/components/{core → ui}/search/02/Search02.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/search/SearchInput.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/search/shared/SearchInputCore.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/search/types.d.ts +0 -0
- /package/dist/components/{core/sidebar → ui/sidebar/core}/data/nav-menu-sidebar.d.ts +0 -0
- /package/dist/components/{core/sidebar → ui/sidebar/core}/data/nav-top-bar-sidebar.d.ts +0 -0
- /package/dist/components/{core/sidebar → ui/sidebar/core}/data/nav-user-sidebar.d.ts +0 -0
- /package/dist/components/{core/sidebar → ui/sidebar/core}/types.d.ts +0 -0
- /package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavMenuBarSidebar.svelte.d.ts +0 -0
- /package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/NavMenuTopBarSidebar.svelte.d.ts +0 -0
- /package/dist/components/{core/sidebar → ui/sidebar/core}/ui/navbar/nav-menu-header-sidebar.svelte.d.ts +0 -0
- /package/dist/components/{core → ui}/tabs/data/TabModel.d.ts +0 -0
- /package/dist/components/{core → ui}/tabs/types.d.ts +0 -0
- /package/dist/components/{core → ui}/tabs/ui/tab-underline.svelte.d.ts +0 -0
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { Button } from "../../../
|
|
3
|
-
import Skeleton from "../../../
|
|
4
|
-
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/svelte";
|
|
5
|
-
|
|
6
|
-
type CardButtonProps = {
|
|
7
|
-
id: string | number;
|
|
8
|
-
icon?: IconSvgElement | string;
|
|
9
|
-
isFlex?: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
text: string;
|
|
12
|
-
isLoading?: boolean;
|
|
13
|
-
onClick: (id: string | number) => void;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
let {
|
|
17
|
-
id,
|
|
18
|
-
icon,
|
|
19
|
-
isFlex,
|
|
20
|
-
className,
|
|
21
|
-
text,
|
|
22
|
-
isLoading,
|
|
23
|
-
onClick,
|
|
24
|
-
}: CardButtonProps = $props();
|
|
25
|
-
</script>
|
|
26
|
-
|
|
27
|
-
{#if isLoading}
|
|
28
|
-
<Skeleton
|
|
29
|
-
class="w-full h-7.5 rounded-lg bg-gray-500/80 dark:bg-gray-500/30"
|
|
30
|
-
/>
|
|
31
|
-
{:else}
|
|
32
|
-
<Button class="bg-gradient flex-1 {className}" onclick={() => onClick(id)}>
|
|
33
|
-
{#if icon}
|
|
34
|
-
{#if typeof icon === "string"}
|
|
35
|
-
<i class={icon}></i>
|
|
36
|
-
{:else}
|
|
37
|
-
<HugeiconsIcon {icon} />
|
|
38
|
-
{/if}
|
|
39
|
-
{/if}
|
|
40
|
-
<span>{text}</span>
|
|
41
|
-
</Button>
|
|
42
|
-
{/if}
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Button } from "../../../button/index.js";
|
|
3
|
+
import Skeleton from "../../../skeleton/skeleton.svelte";
|
|
4
|
+
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/svelte";
|
|
5
|
+
|
|
6
|
+
type CardButtonProps = {
|
|
7
|
+
id: string | number;
|
|
8
|
+
icon?: IconSvgElement | string;
|
|
9
|
+
isFlex?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
text: string;
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
onClick: (id: string | number) => void;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
let {
|
|
17
|
+
id,
|
|
18
|
+
icon,
|
|
19
|
+
isFlex,
|
|
20
|
+
className,
|
|
21
|
+
text,
|
|
22
|
+
isLoading,
|
|
23
|
+
onClick,
|
|
24
|
+
}: CardButtonProps = $props();
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
{#if isLoading}
|
|
28
|
+
<Skeleton
|
|
29
|
+
class="w-full h-7.5 rounded-lg bg-gray-500/80 dark:bg-gray-500/30"
|
|
30
|
+
/>
|
|
31
|
+
{:else}
|
|
32
|
+
<Button class="bg-gradient flex-1 {className}" onclick={() => onClick(id)}>
|
|
33
|
+
{#if icon}
|
|
34
|
+
{#if typeof icon === "string"}
|
|
35
|
+
<i class={icon}></i>
|
|
36
|
+
{:else}
|
|
37
|
+
<HugeiconsIcon {icon} />
|
|
38
|
+
{/if}
|
|
39
|
+
{/if}
|
|
40
|
+
<span>{text}</span>
|
|
41
|
+
</Button>
|
|
42
|
+
{/if}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { Button } from "../../../
|
|
3
|
-
import Skeleton from "../../../
|
|
4
|
-
import {
|
|
5
|
-
ShoppingCartAdd01Icon,
|
|
6
|
-
ShoppingCartRemove01Icon,
|
|
7
|
-
} from "@hugeicons/core-free-icons";
|
|
8
|
-
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
9
|
-
|
|
10
|
-
type Props = {
|
|
11
|
-
id: string | number;
|
|
12
|
-
isCart: boolean;
|
|
13
|
-
isLoading?: boolean;
|
|
14
|
-
onCartClick?: (id: string | number) => void;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
let { id, isCart, isLoading = false, onCartClick }: Props = $props();
|
|
18
|
-
</script>
|
|
19
|
-
|
|
20
|
-
{#if isLoading}
|
|
21
|
-
<Skeleton class="w-8 h-8 rounded-full" />
|
|
22
|
-
{:else if isCart}
|
|
23
|
-
<Button
|
|
24
|
-
class="w-8 h-8 rounded-full bg-[#1d63be]"
|
|
25
|
-
onclick={() => onCartClick!(id)}
|
|
26
|
-
>
|
|
27
|
-
<HugeiconsIcon icon={ShoppingCartRemove01Icon} />
|
|
28
|
-
</Button>
|
|
29
|
-
{:else}
|
|
30
|
-
<Button
|
|
31
|
-
class="w-8 h-8 rounded-full bg-[#808080]"
|
|
32
|
-
onclick={() => onCartClick!(id)}
|
|
33
|
-
>
|
|
34
|
-
<HugeiconsIcon icon={ShoppingCartAdd01Icon} />
|
|
35
|
-
</Button>
|
|
36
|
-
{/if}
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Button } from "../../../button/index.js";
|
|
3
|
+
import Skeleton from "../../../skeleton/skeleton.svelte";
|
|
4
|
+
import {
|
|
5
|
+
ShoppingCartAdd01Icon,
|
|
6
|
+
ShoppingCartRemove01Icon,
|
|
7
|
+
} from "@hugeicons/core-free-icons";
|
|
8
|
+
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
9
|
+
|
|
10
|
+
type Props = {
|
|
11
|
+
id: string | number;
|
|
12
|
+
isCart: boolean;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
onCartClick?: (id: string | number) => void;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
let { id, isCart, isLoading = false, onCartClick }: Props = $props();
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
{#if isLoading}
|
|
21
|
+
<Skeleton class="w-8 h-8 rounded-full" />
|
|
22
|
+
{:else if isCart}
|
|
23
|
+
<Button
|
|
24
|
+
class="w-8 h-8 rounded-full bg-[#1d63be]"
|
|
25
|
+
onclick={() => onCartClick!(id)}
|
|
26
|
+
>
|
|
27
|
+
<HugeiconsIcon icon={ShoppingCartRemove01Icon} />
|
|
28
|
+
</Button>
|
|
29
|
+
{:else}
|
|
30
|
+
<Button
|
|
31
|
+
class="w-8 h-8 rounded-full bg-[#808080]"
|
|
32
|
+
onclick={() => onCartClick!(id)}
|
|
33
|
+
>
|
|
34
|
+
<HugeiconsIcon icon={ShoppingCartAdd01Icon} />
|
|
35
|
+
</Button>
|
|
36
|
+
{/if}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { Message01Icon } from "@hugeicons/core-free-icons";
|
|
3
|
-
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
4
|
-
import TruncatableText from "./TruncatableText.svelte";
|
|
5
|
-
import { t } from "
|
|
6
|
-
import Skeleton from "../../../
|
|
7
|
-
|
|
8
|
-
type CardDescriptionProps = {
|
|
9
|
-
lines?: number;
|
|
10
|
-
content?: string;
|
|
11
|
-
isLoading?: boolean;
|
|
12
|
-
isDescriptionIcon?: boolean;
|
|
13
|
-
isDescriptionLabel?: boolean;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
let {
|
|
17
|
-
lines = 2,
|
|
18
|
-
content,
|
|
19
|
-
isLoading = false,
|
|
20
|
-
isDescriptionIcon = false,
|
|
21
|
-
isDescriptionLabel = true,
|
|
22
|
-
}: CardDescriptionProps = $props();
|
|
23
|
-
</script>
|
|
24
|
-
|
|
25
|
-
{#if isLoading}
|
|
26
|
-
<Skeleton class="w-full h-full bg-gray-500/89" />
|
|
27
|
-
{:else if content}
|
|
28
|
-
{#if isDescriptionLabel}
|
|
29
|
-
<div class="mb-1 text-[14px] md:text-[15px] flex items-center gap-1">
|
|
30
|
-
{#if isDescriptionIcon}
|
|
31
|
-
<HugeiconsIcon icon={Message01Icon} class="h-4 w-4" />
|
|
32
|
-
{/if}
|
|
33
|
-
<div>{$t("label.description")}</div>
|
|
34
|
-
</div>
|
|
35
|
-
{/if}
|
|
36
|
-
<TruncatableText
|
|
37
|
-
text={content}
|
|
38
|
-
{lines}
|
|
39
|
-
class="text-justify text-[13px] md:text-[14px] text-gray-800 dark:text-gray-50 mt-3 my-2 h-[65px] mb-1"
|
|
40
|
-
/>
|
|
41
|
-
{/if}
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Message01Icon } from "@hugeicons/core-free-icons";
|
|
3
|
+
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
4
|
+
import TruncatableText from "./TruncatableText.svelte";
|
|
5
|
+
import { t } from "../../../../../i18n";
|
|
6
|
+
import Skeleton from "../../../skeleton/skeleton.svelte";
|
|
7
|
+
|
|
8
|
+
type CardDescriptionProps = {
|
|
9
|
+
lines?: number;
|
|
10
|
+
content?: string;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
isDescriptionIcon?: boolean;
|
|
13
|
+
isDescriptionLabel?: boolean;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
let {
|
|
17
|
+
lines = 2,
|
|
18
|
+
content,
|
|
19
|
+
isLoading = false,
|
|
20
|
+
isDescriptionIcon = false,
|
|
21
|
+
isDescriptionLabel = true,
|
|
22
|
+
}: CardDescriptionProps = $props();
|
|
23
|
+
</script>
|
|
24
|
+
|
|
25
|
+
{#if isLoading}
|
|
26
|
+
<Skeleton class="w-full h-full bg-gray-500/89" />
|
|
27
|
+
{:else if content}
|
|
28
|
+
{#if isDescriptionLabel}
|
|
29
|
+
<div class="mb-1 text-[14px] md:text-[15px] flex items-center gap-1">
|
|
30
|
+
{#if isDescriptionIcon}
|
|
31
|
+
<HugeiconsIcon icon={Message01Icon} class="h-4 w-4" />
|
|
32
|
+
{/if}
|
|
33
|
+
<div>{$t("label.description")}</div>
|
|
34
|
+
</div>
|
|
35
|
+
{/if}
|
|
36
|
+
<TruncatableText
|
|
37
|
+
text={content}
|
|
38
|
+
{lines}
|
|
39
|
+
class="text-justify text-[13px] md:text-[14px] text-gray-800 dark:text-gray-50 mt-3 my-2 h-[65px] mb-1"
|
|
40
|
+
/>
|
|
41
|
+
{/if}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { Button } from "../../../
|
|
3
|
-
import Skeleton from "../../../
|
|
4
|
-
import { HeartAddIcon, HeartRemoveIcon } from "@hugeicons/core-free-icons";
|
|
5
|
-
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
6
|
-
|
|
7
|
-
type Props = {
|
|
8
|
-
id: string | number;
|
|
9
|
-
isFavorite: boolean;
|
|
10
|
-
isLoading?: boolean;
|
|
11
|
-
onFavoriteClick?: (id: string | number) => void;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
let { id, isFavorite, isLoading = false, onFavoriteClick }: Props = $props();
|
|
15
|
-
</script>
|
|
16
|
-
|
|
17
|
-
{#if isLoading}
|
|
18
|
-
<Skeleton class="w-8 h-8 rounded-full" />
|
|
19
|
-
{:else if isFavorite}
|
|
20
|
-
<Button
|
|
21
|
-
class="w-8 h-8 rounded-full bg-[#ce2356]"
|
|
22
|
-
onclick={() => onFavoriteClick!(id)}
|
|
23
|
-
>
|
|
24
|
-
<HugeiconsIcon icon={HeartRemoveIcon} />
|
|
25
|
-
</Button>
|
|
26
|
-
{:else}
|
|
27
|
-
<Button
|
|
28
|
-
class="w-8 h-8 rounded-full bg-[#808080]"
|
|
29
|
-
onclick={() => onFavoriteClick!(id)}
|
|
30
|
-
>
|
|
31
|
-
<HugeiconsIcon icon={HeartAddIcon} />
|
|
32
|
-
</Button>
|
|
33
|
-
{/if}
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Button } from "../../../button/index.js";
|
|
3
|
+
import Skeleton from "../../../skeleton/skeleton.svelte";
|
|
4
|
+
import { HeartAddIcon, HeartRemoveIcon } from "@hugeicons/core-free-icons";
|
|
5
|
+
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
6
|
+
|
|
7
|
+
type Props = {
|
|
8
|
+
id: string | number;
|
|
9
|
+
isFavorite: boolean;
|
|
10
|
+
isLoading?: boolean;
|
|
11
|
+
onFavoriteClick?: (id: string | number) => void;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
let { id, isFavorite, isLoading = false, onFavoriteClick }: Props = $props();
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
{#if isLoading}
|
|
18
|
+
<Skeleton class="w-8 h-8 rounded-full" />
|
|
19
|
+
{:else if isFavorite}
|
|
20
|
+
<Button
|
|
21
|
+
class="w-8 h-8 rounded-full bg-[#ce2356]"
|
|
22
|
+
onclick={() => onFavoriteClick!(id)}
|
|
23
|
+
>
|
|
24
|
+
<HugeiconsIcon icon={HeartRemoveIcon} />
|
|
25
|
+
</Button>
|
|
26
|
+
{:else}
|
|
27
|
+
<Button
|
|
28
|
+
class="w-8 h-8 rounded-full bg-[#808080]"
|
|
29
|
+
onclick={() => onFavoriteClick!(id)}
|
|
30
|
+
>
|
|
31
|
+
<HugeiconsIcon icon={HeartAddIcon} />
|
|
32
|
+
</Button>
|
|
33
|
+
{/if}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import Skeleton from "../../../
|
|
3
|
-
import ImgPlaceholderCompany from "
|
|
4
|
-
|
|
5
|
-
let { logo, isLoading = false }: { logo?: string; isLoading?: boolean } =
|
|
6
|
-
$props();
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
{#if isLoading}
|
|
10
|
-
<Skeleton class="w-12 h-12 rounded-lg bg-gray-300" />
|
|
11
|
-
{:else if logo}
|
|
12
|
-
<img
|
|
13
|
-
src={logo}
|
|
14
|
-
alt={logo}
|
|
15
|
-
class="w-12 h-12 rounded-lg"
|
|
16
|
-
onerror={(e) =>
|
|
17
|
-
((e.target as HTMLImageElement).src = ImgPlaceholderCompany)}
|
|
18
|
-
/>
|
|
19
|
-
{/if}
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import Skeleton from "../../../skeleton/skeleton.svelte";
|
|
3
|
+
import ImgPlaceholderCompany from "../../../../../assets/placeholder-company.png";
|
|
4
|
+
|
|
5
|
+
let { logo, isLoading = false }: { logo?: string; isLoading?: boolean } =
|
|
6
|
+
$props();
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
{#if isLoading}
|
|
10
|
+
<Skeleton class="w-12 h-12 rounded-lg bg-gray-300" />
|
|
11
|
+
{:else if logo}
|
|
12
|
+
<img
|
|
13
|
+
src={logo}
|
|
14
|
+
alt={logo}
|
|
15
|
+
class="w-12 h-12 rounded-lg"
|
|
16
|
+
onerror={(e) =>
|
|
17
|
+
((e.target as HTMLImageElement).src = ImgPlaceholderCompany)}
|
|
18
|
+
/>
|
|
19
|
+
{/if}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { Mail01Icon, WhatsappIcon } from "@hugeicons/core-free-icons";
|
|
3
|
-
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
4
|
-
import type { CardPhoneOrWhatsappProps } from "../types";
|
|
5
|
-
|
|
6
|
-
let {
|
|
7
|
-
id,
|
|
8
|
-
className,
|
|
9
|
-
buttonClass,
|
|
10
|
-
btnWhatsappClass,
|
|
11
|
-
btnEmailClass,
|
|
12
|
-
onEmailClick,
|
|
13
|
-
onWhatsappClick,
|
|
14
|
-
}: CardPhoneOrWhatsappProps = $props();
|
|
15
|
-
|
|
16
|
-
let isFlex = $derived(onEmailClick && onWhatsappClick);
|
|
17
|
-
</script>
|
|
18
|
-
|
|
19
|
-
<div class="flex border-t border-gray-300 dark:border-gray-700 {className}">
|
|
20
|
-
{#if onEmailClick}
|
|
21
|
-
<button
|
|
22
|
-
class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-red-800 hover:text-white cursor-pointer rounded-bl-lg {!isFlex
|
|
23
|
-
? 'rounded-br-lg'
|
|
24
|
-
: ''} {buttonClass} {btnEmailClass}"
|
|
25
|
-
onclick={() => onEmailClick?.(id)}
|
|
26
|
-
>
|
|
27
|
-
<HugeiconsIcon icon={Mail01Icon} size={20} />
|
|
28
|
-
<span>Email</span>
|
|
29
|
-
</button>
|
|
30
|
-
{/if}
|
|
31
|
-
{#if isFlex}
|
|
32
|
-
<div class="border-l border-gray-300 dark:border-gray-700"></div>
|
|
33
|
-
{/if}
|
|
34
|
-
{#if onWhatsappClick}
|
|
35
|
-
<button
|
|
36
|
-
class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-green-600 hover:text-white cursor-pointer rounded-br-lg {!isFlex
|
|
37
|
-
? 'rounded-bl-lg'
|
|
38
|
-
: ''} {buttonClass} {btnWhatsappClass}"
|
|
39
|
-
onclick={() => onWhatsappClick?.(id)}
|
|
40
|
-
>
|
|
41
|
-
<HugeiconsIcon icon={WhatsappIcon} size={20} />
|
|
42
|
-
<span>Whatsapp</span>
|
|
43
|
-
</button>
|
|
44
|
-
{/if}
|
|
45
|
-
</div>
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { Mail01Icon, WhatsappIcon } from "@hugeicons/core-free-icons";
|
|
3
|
+
import { HugeiconsIcon } from "@hugeicons/svelte";
|
|
4
|
+
import type { CardPhoneOrWhatsappProps } from "../types";
|
|
5
|
+
|
|
6
|
+
let {
|
|
7
|
+
id,
|
|
8
|
+
className,
|
|
9
|
+
buttonClass,
|
|
10
|
+
btnWhatsappClass,
|
|
11
|
+
btnEmailClass,
|
|
12
|
+
onEmailClick,
|
|
13
|
+
onWhatsappClick,
|
|
14
|
+
}: CardPhoneOrWhatsappProps = $props();
|
|
15
|
+
|
|
16
|
+
let isFlex = $derived(onEmailClick && onWhatsappClick);
|
|
17
|
+
</script>
|
|
18
|
+
|
|
19
|
+
<div class="flex border-t border-gray-300 dark:border-gray-700 {className}">
|
|
20
|
+
{#if onEmailClick}
|
|
21
|
+
<button
|
|
22
|
+
class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-red-800 hover:text-white cursor-pointer rounded-bl-lg {!isFlex
|
|
23
|
+
? 'rounded-br-lg'
|
|
24
|
+
: ''} {buttonClass} {btnEmailClass}"
|
|
25
|
+
onclick={() => onEmailClick?.(id)}
|
|
26
|
+
>
|
|
27
|
+
<HugeiconsIcon icon={Mail01Icon} size={20} />
|
|
28
|
+
<span>Email</span>
|
|
29
|
+
</button>
|
|
30
|
+
{/if}
|
|
31
|
+
{#if isFlex}
|
|
32
|
+
<div class="border-l border-gray-300 dark:border-gray-700"></div>
|
|
33
|
+
{/if}
|
|
34
|
+
{#if onWhatsappClick}
|
|
35
|
+
<button
|
|
36
|
+
class="flex-1 flex justify-center items-center gap-2 p-3 hover:bg-green-600 hover:text-white cursor-pointer rounded-br-lg {!isFlex
|
|
37
|
+
? 'rounded-bl-lg'
|
|
38
|
+
: ''} {buttonClass} {btnWhatsappClass}"
|
|
39
|
+
onclick={() => onWhatsappClick?.(id)}
|
|
40
|
+
>
|
|
41
|
+
<HugeiconsIcon icon={WhatsappIcon} size={20} />
|
|
42
|
+
<span>Whatsapp</span>
|
|
43
|
+
</button>
|
|
44
|
+
{/if}
|
|
45
|
+
</div>
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import Skeleton from "../../../
|
|
3
|
-
import * as StarRating from "../../../
|
|
4
|
-
|
|
5
|
-
type Props = {
|
|
6
|
-
startNumber: number;
|
|
7
|
-
startMax: number;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
let { startNumber, startMax, isLoading }: Props = $props();
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
{#if isLoading}
|
|
15
|
-
<Skeleton class="w-12 h-6 rounded-lg bg-gray-300/90" />
|
|
16
|
-
{:else if startNumber}
|
|
17
|
-
<StarRating.Root max={startMax} value={startNumber} class="size-15 h-auto">
|
|
18
|
-
{#snippet children({ items })}
|
|
19
|
-
{#each items as item (item.index)}
|
|
20
|
-
<StarRating.Star {...item} class="py-0! my-0!" />
|
|
21
|
-
{/each}
|
|
22
|
-
{/snippet}
|
|
23
|
-
</StarRating.Root>
|
|
24
|
-
{/if}
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import Skeleton from "../../../skeleton/skeleton.svelte";
|
|
3
|
+
import * as StarRating from "../../../star-rating";
|
|
4
|
+
|
|
5
|
+
type Props = {
|
|
6
|
+
startNumber: number;
|
|
7
|
+
startMax: number;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
let { startNumber, startMax, isLoading }: Props = $props();
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
{#if isLoading}
|
|
15
|
+
<Skeleton class="w-12 h-6 rounded-lg bg-gray-300/90" />
|
|
16
|
+
{:else if startNumber}
|
|
17
|
+
<StarRating.Root max={startMax} value={startNumber} class="size-15 h-auto">
|
|
18
|
+
{#snippet children({ items })}
|
|
19
|
+
{#each items as item (item.index)}
|
|
20
|
+
<StarRating.Star {...item} class="py-0! my-0!" />
|
|
21
|
+
{/each}
|
|
22
|
+
{/snippet}
|
|
23
|
+
</StarRating.Root>
|
|
24
|
+
{/if}
|