negodesign 0.0.11 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/NegoDesign.svelte +1 -1
- package/dist/components/NegoDesign.svelte.d.ts +1 -1
- package/dist/components/core/button/ButtonBack.svelte +1 -1
- package/dist/components/core/button/ButtonLogin.svelte +1 -1
- package/dist/components/core/button/ButtonLoginWith.svelte +1 -1
- package/dist/components/core/button/ButtonSend.svelte +1 -1
- package/dist/components/core/card/media/01/CardMedia01.svelte +114 -0
- package/dist/components/core/card/media/01/CardMedia01.svelte.d.ts +4 -0
- package/dist/components/core/card/media/02/CardMedia02.svelte +113 -0
- package/dist/components/core/card/media/02/CardMedia02.svelte.d.ts +4 -0
- package/dist/components/core/card/media/CardMedia.svelte +17 -0
- package/dist/components/core/card/media/CardMedia.svelte.d.ts +8 -0
- package/dist/components/core/card/media/data.d.ts +3 -0
- package/dist/components/core/card/media/data.js +117 -0
- package/dist/components/core/card/profile/01/CardProfile01.svelte +101 -0
- package/dist/components/core/card/profile/01/CardProfile01.svelte.d.ts +4 -0
- package/dist/components/core/card/profile/02/CardProfile02.svelte +97 -0
- package/dist/components/core/card/profile/02/CardProfile02.svelte.d.ts +4 -0
- package/dist/components/core/card/profile/CardProfile.svelte +17 -0
- package/dist/components/core/card/profile/CardProfile.svelte.d.ts +8 -0
- package/dist/components/core/card/profile/data.d.ts +3 -0
- package/dist/components/core/card/profile/data.js +107 -0
- package/dist/components/core/card/promotion/CardPromotion.svelte +44 -0
- package/dist/components/core/card/promotion/CardPromotion.svelte.d.ts +8 -0
- package/dist/components/core/card/promotion/data.d.ts +3 -0
- package/dist/components/core/card/promotion/data.js +31 -0
- package/dist/components/core/card/shared/CardButton.svelte +30 -0
- package/dist/components/core/card/shared/CardButton.svelte.d.ts +12 -0
- package/dist/components/core/card/shared/CardDescription.svelte +23 -0
- package/dist/components/core/card/shared/CardDescription.svelte.d.ts +6 -0
- package/dist/components/core/card/shared/CardFavorite.svelte +28 -0
- package/dist/components/core/card/shared/CardFavorite.svelte.d.ts +7 -0
- package/dist/components/core/card/shared/CardStarRating.svelte +20 -0
- package/dist/components/core/card/shared/CardStarRating.svelte.d.ts +7 -0
- package/dist/components/core/card/shared/CardTags.svelte +56 -0
- package/dist/components/core/card/shared/CardTags.svelte.d.ts +10 -0
- package/dist/components/core/card/shared/CardThumbnailVideo.svelte +170 -0
- package/dist/components/core/card/shared/CardThumbnailVideo.svelte.d.ts +10 -0
- package/dist/components/core/card/shared/TruncatableText.svelte +56 -0
- package/dist/components/core/card/shared/TruncatableText.svelte.d.ts +8 -0
- package/dist/components/core/card/types.d.ts +54 -0
- package/dist/components/core/carousel/promotion/ui/CarouselPromotion.svelte +53 -0
- package/dist/components/core/carousel/promotion/ui/CarouselPromotion.svelte.d.ts +4 -0
- package/dist/components/core/carousel/shared/ui/SimpleBadgeCarousel.svelte +59 -0
- package/dist/components/core/carousel/shared/ui/SimpleBadgeCarousel.svelte.d.ts +4 -0
- package/dist/components/core/carousel/types.d.ts +34 -0
- package/dist/components/core/datatable/ui/DataTableCore.svelte +5 -5
- package/dist/components/core/form/ui/input-code-otp.svelte +3 -3
- package/dist/components/core/form/ui/input-code-otp.svelte.d.ts +2 -2
- package/dist/components/core/form/ui/input-email-or-phone.svelte +1 -1
- package/dist/components/core/form/ui/input-email.svelte +1 -1
- package/dist/components/core/form/ui/input-password-confirm.svelte +1 -1
- package/dist/components/core/form/ui/input-password.svelte +1 -1
- package/dist/components/core/form/ui/input-phone.svelte +1 -1
- package/dist/components/core/form/ui/input-username.svelte +2 -2
- package/dist/components/core/nav/data/nav-menu-sidebar.d.ts +7 -7
- package/dist/components/core/nav/data/nav-menu.d.ts +31 -0
- package/dist/components/core/nav/data/nav-user-sidebar.d.ts +1 -1
- package/dist/components/core/nav/ui/menu-links.svelte +28 -0
- package/dist/components/core/nav/ui/menu-links.svelte.d.ts +10 -0
- package/dist/components/core/nav/ui/mobile/nav-menu-drawer.svelte +85 -0
- package/dist/components/core/nav/ui/mobile/nav-menu-drawer.svelte.d.ts +9 -0
- package/dist/components/core/nav/ui/{nav-menu-bottom-bar.svelte → nav-menu-bottom-sidebar.svelte} +2 -2
- package/dist/components/core/nav/ui/nav-menu-bottom-sidebar.svelte.d.ts +10 -0
- package/dist/components/core/nav/ui/nav-menu-header-sidebar.svelte.d.ts +10 -0
- package/dist/components/core/nav/ui/{nav-menu-bar.svelte → nav-menu-sidebar.svelte} +7 -7
- package/dist/components/core/nav/ui/nav-menu-sidebar.svelte.d.ts +7 -0
- package/dist/components/core/nav/ui/nav-menu-top-bar-sidebar.svelte.d.ts +4 -0
- package/dist/components/core/nav/ui/nav-menu.svelte +98 -0
- package/dist/components/core/nav/ui/nav-menu.svelte.d.ts +4 -0
- package/dist/components/core/nav/ui/nav-user-sidebar.svelte +2 -2
- package/dist/components/core/nav/ui/nav-user-sidebar.svelte.d.ts +2 -2
- package/dist/components/core/panel/CarouselSlot.svelte +38 -0
- package/dist/components/core/panel/CarouselSlot.svelte.d.ts +11 -0
- package/dist/components/core/panel/LeftHero.svelte +3 -3
- package/dist/components/core/panel/LeftHero.svelte.d.ts +2 -2
- package/dist/components/core/search/01/Search01.svelte +15 -0
- package/dist/components/core/search/01/Search01.svelte.d.ts +4 -0
- package/dist/components/core/search/02/Search02.svelte +15 -0
- package/dist/components/core/search/02/Search02.svelte.d.ts +4 -0
- package/dist/components/core/search/SearchInput.svelte +32 -0
- package/dist/components/core/search/SearchInput.svelte.d.ts +4 -0
- package/dist/components/core/search/shared/SearchInputCore.svelte +66 -0
- package/dist/components/core/search/shared/SearchInputCore.svelte.d.ts +4 -0
- package/dist/components/core/search/types.d.ts +15 -0
- package/dist/components/core/sidebar/MenuBarSidebar.svelte +14 -14
- package/dist/components/core/sidebar/MenuBarSidebar.svelte.d.ts +8 -8
- package/dist/components/pages/admin/{ui → 01/ui}/AdminContent.svelte +1 -1
- package/dist/components/pages/admin/{ui → 01/ui}/AdminContent.svelte.d.ts +1 -1
- package/dist/components/pages/admin/{ui → 01/ui}/AdminPanel.svelte +8 -8
- package/dist/components/pages/admin/{ui → 01/ui}/AdminPanel.svelte.d.ts +4 -4
- package/dist/components/pages/privacy-policy-or-terms-of-use/01/DocsSidebar.svelte +69 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/01/DocsSidebar.svelte.d.ts +10 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/01/PrivacyPolicyOrTermsOfUse01.svelte +73 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/01/PrivacyPolicyOrTermsOfUse01.svelte.d.ts +7 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/01/TableOfContents.svelte +37 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/01/TableOfContents.svelte.d.ts +8 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/02/DocsPageHero.svelte +59 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/02/DocsPageHero.svelte.d.ts +10 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/02/PageHero.svelte +51 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/02/PageHero.svelte.d.ts +14 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/02/PrivacyPolicyOrTermsOfUse02.svelte +24 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/02/PrivacyPolicyOrTermsOfUse02.svelte.d.ts +7 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/PrivacyPolicyOrTermsOfUse.svelte +32 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/PrivacyPolicyOrTermsOfUse.svelte.d.ts +4 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/ContentBlockView.svelte +26 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/ContentBlockView.svelte.d.ts +7 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/DocSectionView.svelte +44 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/DocSectionView.svelte.d.ts +7 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/PrivacyPolicyOrTermsOfUseBreadcrumb.svelte +34 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/PrivacyPolicyOrTermsOfUseBreadcrumb.svelte.d.ts +7 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/toc.d.ts +8 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/shared/toc.js +14 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/types.d.ts +62 -0
- package/dist/components/pages/privacy-policy-or-terms-of-use/types.js +5 -0
- package/dist/components/pages/{forget-password → security/forget-password}/01/ui/ForgetPasswordCard.svelte +15 -10
- package/dist/components/pages/{forget-password → security/forget-password}/01/ui/ForgetPasswordCard.svelte.d.ts +0 -5
- package/dist/components/pages/{forget-password → security/forget-password}/01/ui/FormForgetPassword.svelte +15 -5
- package/dist/components/pages/{forget-password → security/forget-password}/01/ui/PageForgetPassword01.svelte +6 -6
- package/dist/components/pages/{forget-password → security/forget-password}/PageForgetPassword.svelte +10 -7
- package/dist/components/pages/{forget-password → security/forget-password}/PageForgetPassword.svelte.d.ts +0 -7
- package/dist/components/pages/{forget-password → security/forget-password}/types.d.ts +3 -3
- package/dist/components/pages/{login → security/login}/01/ui/FormLogin.svelte +19 -15
- package/dist/components/pages/{login → security/login}/01/ui/FormLogin.svelte.d.ts +0 -6
- package/dist/components/pages/{login → security/login}/01/ui/FormLoginEmailPassword.svelte +10 -1
- package/dist/components/pages/{login → security/login}/01/ui/FormLoginEmailPassword.svelte.d.ts +0 -1
- package/dist/components/pages/{login → security/login}/01/ui/FormLoginPhonePassword.svelte +10 -1
- package/dist/components/pages/{login → security/login}/01/ui/FormLoginPhonePassword.svelte.d.ts +0 -1
- package/dist/components/pages/{login → security/login}/01/ui/FormLoginUsernamePassword.svelte +10 -1
- package/dist/components/pages/{login → security/login}/01/ui/FormLoginUsernamePassword.svelte.d.ts +0 -1
- package/dist/components/pages/{login → security/login}/01/ui/FormRegister.svelte +5 -5
- package/dist/components/pages/{login → security/login}/01/ui/LoginCard.svelte +28 -20
- package/dist/components/pages/security/login/01/ui/LoginCard.svelte.d.ts +13 -0
- package/dist/components/pages/{login → security/login}/01/ui/PageLogin01.svelte +12 -11
- package/dist/components/pages/security/login/PageLogin.svelte +22 -0
- package/dist/components/pages/security/login/PageLogin.svelte.d.ts +8 -0
- package/dist/components/pages/security/login/types.d.ts +33 -0
- package/dist/components/pages/security/login/types.js +1 -0
- package/dist/components/pages/{otp-verification → security/otp-verification}/01/ui/FormOtpVerification.svelte +13 -3
- package/dist/components/pages/{otp-verification → security/otp-verification}/01/ui/OtpVerificationCard.svelte +15 -10
- package/dist/components/pages/{otp-verification → security/otp-verification}/01/ui/OtpVerificationCard.svelte.d.ts +0 -5
- package/dist/components/pages/{otp-verification → security/otp-verification}/01/ui/PageOtpVerification01.svelte +12 -6
- package/dist/components/pages/{otp-verification → security/otp-verification}/PageOtpVerification.svelte +10 -4
- package/dist/components/pages/{otp-verification → security/otp-verification}/PageOtpVerification.svelte.d.ts +0 -4
- package/dist/components/pages/{otp-verification → security/otp-verification}/types.d.ts +3 -3
- package/dist/components/pages/security/otp-verification/types.js +1 -0
- package/dist/components/pages/{reset-password → security/reset-password}/01/ui/FormResetPassword.svelte +15 -5
- package/dist/components/pages/{reset-password → security/reset-password}/01/ui/PageResetPassword01.svelte +12 -6
- package/dist/components/pages/{reset-password → security/reset-password}/01/ui/ResetPasswordCard.svelte +15 -10
- package/dist/components/pages/{reset-password → security/reset-password}/01/ui/ResetPasswordCard.svelte.d.ts +0 -5
- package/dist/components/pages/{reset-password → security/reset-password}/PageResetPassword.svelte +10 -4
- package/dist/components/pages/{reset-password → security/reset-password}/PageResetPassword.svelte.d.ts +0 -4
- package/dist/components/pages/{reset-password → security/reset-password}/types.d.ts +3 -3
- package/dist/components/pages/security/reset-password/types.js +1 -0
- package/dist/components/ui/button/button.svelte +82 -101
- package/dist/components/ui/button/button.svelte.d.ts +36 -63
- package/dist/components/ui/button/index.d.ts +2 -2
- package/dist/components/ui/button/index.js +2 -2
- package/dist/components/ui/carousel/carousel-content.svelte +43 -0
- package/dist/components/ui/carousel/carousel-content.svelte.d.ts +5 -0
- package/dist/components/ui/carousel/carousel-item.svelte +30 -0
- package/dist/components/ui/carousel/carousel-item.svelte.d.ts +5 -0
- package/dist/components/ui/carousel/carousel-next.svelte +40 -0
- package/dist/components/ui/carousel/carousel-next.svelte.d.ts +4 -0
- package/dist/components/ui/carousel/carousel-previous.svelte +40 -0
- package/dist/components/ui/carousel/carousel-previous.svelte.d.ts +4 -0
- package/dist/components/ui/carousel/carousel.svelte +94 -0
- package/dist/components/ui/carousel/carousel.svelte.d.ts +5 -0
- package/dist/components/ui/carousel/context.d.ts +31 -0
- package/dist/components/ui/carousel/context.js +12 -0
- package/dist/components/ui/carousel/index.d.ts +6 -0
- package/dist/components/ui/carousel/index.js +8 -0
- package/dist/components/ui/input-group/input-group-addon.svelte +6 -0
- package/dist/components/ui/input-group/input-group-addon.svelte.d.ts +6 -0
- package/dist/components/ui/light-switch/light-switch.svelte +17 -6
- package/dist/components/ui/light-switch/light-switch.svelte.d.ts +2 -2
- package/dist/components/ui/star-rating/index.d.ts +2 -0
- package/dist/components/ui/star-rating/index.js +2 -0
- package/dist/components/ui/star-rating/star-rating-star.svelte +41 -0
- package/dist/components/ui/star-rating/star-rating-star.svelte.d.ts +4 -0
- package/dist/components/ui/star-rating/star-rating.svelte +20 -0
- package/dist/components/ui/star-rating/star-rating.svelte.d.ts +4 -0
- package/dist/components/ui/star-rating/types.d.ts +5 -0
- package/dist/components/ui/star-rating/types.js +1 -0
- package/dist/globals.css +645 -36
- package/dist/hooks/responsive.svelte.d.ts +3 -0
- package/dist/hooks/responsive.svelte.js +18 -0
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/index.js +2 -2
- package/dist/i18n/langs/en.d.ts +23 -8
- package/dist/i18n/langs/en.js +23 -8
- package/dist/i18n/langs/pt.d.ts +23 -8
- package/dist/i18n/langs/pt.js +23 -8
- package/dist/i18n/translations.d.ts +46 -16
- package/dist/index.d.ts +15 -9
- package/dist/index.js +15 -9
- package/dist/styles/globals.css +147 -141
- package/dist/types/index.d.ts +4 -4
- package/package.json +11 -9
- package/dist/components/core/carousel/data/CarouselModel.d.ts +0 -11
- package/dist/components/core/nav/ui/nav-menu-bar.svelte.d.ts +0 -7
- package/dist/components/core/nav/ui/nav-menu-bottom-bar.svelte.d.ts +0 -10
- package/dist/components/core/nav/ui/nav-menu-header.svelte.d.ts +0 -10
- package/dist/components/core/nav/ui/nav-menu-top-bar.svelte.d.ts +0 -4
- package/dist/components/pages/login/01/ui/LoginCard.svelte.d.ts +0 -21
- package/dist/components/pages/login/PageLogin.svelte +0 -21
- package/dist/components/pages/login/PageLogin.svelte.d.ts +0 -17
- package/dist/components/pages/login/types.d.ts +0 -23
- /package/dist/components/{pages/forget-password → core/card}/types.js +0 -0
- /package/dist/components/{pages/login → core/carousel}/types.js +0 -0
- /package/dist/components/core/{carousel/data/CarouselModel.js → nav/data/nav-menu.js} +0 -0
- /package/dist/components/core/nav/ui/{nav-menu-header.svelte → nav-menu-header-sidebar.svelte} +0 -0
- /package/dist/components/core/nav/ui/{nav-menu-top-bar.svelte → nav-menu-top-bar-sidebar.svelte} +0 -0
- /package/dist/components/{pages/otp-verification → core/search}/types.js +0 -0
- /package/dist/components/pages/{forget-password → security/forget-password}/01/ui/FormForgetPassword.svelte.d.ts +0 -0
- /package/dist/components/pages/{forget-password → security/forget-password}/01/ui/PageForgetPassword01.svelte.d.ts +0 -0
- /package/dist/components/pages/{reset-password → security/forget-password}/types.js +0 -0
- /package/dist/components/pages/{login → security/login}/01/ui/FormRegister.svelte.d.ts +0 -0
- /package/dist/components/pages/{login → security/login}/01/ui/PageLogin01.svelte.d.ts +0 -0
- /package/dist/components/pages/{otp-verification → security/otp-verification}/01/ui/FormOtpVerification.svelte.d.ts +0 -0
- /package/dist/components/pages/{otp-verification → security/otp-verification}/01/ui/PageOtpVerification01.svelte.d.ts +0 -0
- /package/dist/components/pages/{reset-password → security/reset-password}/01/ui/FormResetPassword.svelte.d.ts +0 -0
- /package/dist/components/pages/{reset-password → security/reset-password}/01/ui/PageResetPassword01.svelte.d.ts +0 -0
package/dist/styles/globals.css
CHANGED
|
@@ -1,141 +1,147 @@
|
|
|
1
|
-
@import "tailwindcss";
|
|
2
|
-
@import "tw-animate-css";
|
|
3
|
-
@import "shadcn-svelte/tailwind.css";
|
|
4
|
-
@import "@fontsource-variable/figtree";
|
|
5
|
-
|
|
6
|
-
@custom-variant dark (&:is(.dark *));
|
|
7
|
-
@plugin '@tailwindcss/forms';
|
|
8
|
-
@plugin '@tailwindcss/typography';
|
|
9
|
-
|
|
10
|
-
@layer {
|
|
11
|
-
.bg-gradient-left {
|
|
12
|
-
@apply bg-linear-to-r from-[#
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.bg-gradient-right {
|
|
16
|
-
@apply max-md:bg-linear-to-r max-md:from-[#0077b6] max-md:via-[#219ebc] max-md:to-[#219ebc] dark:max-md:from-[#06344d] dark:max-md:via-[#023845] dark:max-md:to-[#074656];
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
:
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
--
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
35
|
-
--
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--chart-
|
|
44
|
-
--
|
|
45
|
-
--
|
|
46
|
-
--
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--sidebar
|
|
50
|
-
--sidebar-
|
|
51
|
-
--sidebar-
|
|
52
|
-
--sidebar-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
.
|
|
56
|
-
--
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
--
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
65
|
-
--
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
75
|
-
--
|
|
76
|
-
--
|
|
77
|
-
--
|
|
78
|
-
--chart-
|
|
79
|
-
--
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
-
--sidebar
|
|
84
|
-
--sidebar-
|
|
85
|
-
--sidebar-
|
|
86
|
-
--sidebar-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
--
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
--
|
|
95
|
-
--color-sidebar-
|
|
96
|
-
--color-sidebar-
|
|
97
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
98
|
-
--color-sidebar: var(--sidebar);
|
|
99
|
-
--color-
|
|
100
|
-
--color-
|
|
101
|
-
--color-
|
|
102
|
-
--color-
|
|
103
|
-
--color-chart-
|
|
104
|
-
--color-
|
|
105
|
-
--color-
|
|
106
|
-
--color-
|
|
107
|
-
--color-
|
|
108
|
-
--color-
|
|
109
|
-
--color-
|
|
110
|
-
--color-
|
|
111
|
-
--color-
|
|
112
|
-
--color-
|
|
113
|
-
--color-
|
|
114
|
-
--color-
|
|
115
|
-
--color-
|
|
116
|
-
--color-
|
|
117
|
-
--color-
|
|
118
|
-
--color-
|
|
119
|
-
--color-
|
|
120
|
-
--color-foreground: var(--foreground);
|
|
121
|
-
--color-
|
|
122
|
-
--
|
|
123
|
-
--
|
|
124
|
-
--
|
|
125
|
-
--
|
|
126
|
-
--radius-
|
|
127
|
-
--radius-
|
|
128
|
-
--radius-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
*
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
1
|
+
@import "tailwindcss";
|
|
2
|
+
@import "tw-animate-css";
|
|
3
|
+
@import "shadcn-svelte/tailwind.css";
|
|
4
|
+
@import "@fontsource-variable/figtree";
|
|
5
|
+
|
|
6
|
+
@custom-variant dark (&:is(.dark *));
|
|
7
|
+
@plugin '@tailwindcss/forms';
|
|
8
|
+
@plugin '@tailwindcss/typography';
|
|
9
|
+
|
|
10
|
+
@layer {
|
|
11
|
+
.bg-gradient-left {
|
|
12
|
+
@apply bg-linear-to-r from-[#0082b6] via-[#0b4a7e] to-[#083baa] dark:from-[#06344d] dark:via-[#023845] dark:to-[#074656];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.bg-gradient-right {
|
|
16
|
+
@apply max-md:bg-linear-to-r max-md:from-[#0077b6] max-md:via-[#219ebc] max-md:to-[#219ebc] dark:max-md:from-[#06344d] dark:max-md:via-[#023845] dark:max-md:to-[#074656];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.container-fixed {
|
|
20
|
+
@apply w-11/12 lg:w-11/12;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:root {
|
|
25
|
+
--background: oklch(1 0 0);
|
|
26
|
+
--foreground: oklch(31.22% 0.0185 225.266);
|
|
27
|
+
--card: oklch(1 0 0);
|
|
28
|
+
--card-foreground: oklch(0.148 0.004 228.8);
|
|
29
|
+
--popover: oklch(1 0 0);
|
|
30
|
+
--popover-foreground: oklch(0.148 0.004 228.8);
|
|
31
|
+
--primary: #00bbf9;
|
|
32
|
+
--primary-foreground: oklch(0.97 0.014 254.604);
|
|
33
|
+
--secondary: oklch(0.967 0.001 286.375);
|
|
34
|
+
--secondary-foreground: oklch(0.21 0.006 285.885);
|
|
35
|
+
--muted: oklch(0.963 0.002 197.1);
|
|
36
|
+
--muted-foreground: oklch(0.56 0.021 213.5);
|
|
37
|
+
--accent: oklch(0.963 0.002 197.1);
|
|
38
|
+
--accent-foreground: #3a6ea5;
|
|
39
|
+
--destructive: #ff0054;
|
|
40
|
+
--border: oklch(0.925 0.005 214.3);
|
|
41
|
+
--input: oklch(0.925 0.005 214.3);
|
|
42
|
+
--ring: oklch(0.723 0.014 214.4);
|
|
43
|
+
--chart-1: #3a6ea5;
|
|
44
|
+
--chart-2: #2ec4b6;
|
|
45
|
+
--chart-3: #ff6700;
|
|
46
|
+
--chart-4: #3a86ff;
|
|
47
|
+
--chart-5: #ffbd00;
|
|
48
|
+
--radius: 0.6rem;
|
|
49
|
+
--sidebar: oklch(0.987 0.002 197.1);
|
|
50
|
+
--sidebar-foreground: oklch(0.148 0.004 228.8);
|
|
51
|
+
--sidebar-primary: #bde0fe;
|
|
52
|
+
--sidebar-primary-foreground: oklch(0.97 0.014 254.604);
|
|
53
|
+
--sidebar-accent: oklch(0.963 0.002 197.1);
|
|
54
|
+
--sidebar-accent-foreground: oklch(0.218 0.008 223.9);
|
|
55
|
+
--sidebar-border: oklch(0.925 0.005 214.3);
|
|
56
|
+
--sidebar-ring: oklch(0.723 0.014 214.4);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dark {
|
|
60
|
+
--background: oklch(0.148 0.004 228.8);
|
|
61
|
+
--foreground: oklch(0.987 0.002 197.1);
|
|
62
|
+
--card: oklch(0.218 0.008 223.9);
|
|
63
|
+
--card-foreground: oklch(0.987 0.002 197.1);
|
|
64
|
+
--popover: oklch(0.218 0.008 223.9);
|
|
65
|
+
--popover-foreground: oklch(0.987 0.002 197.1);
|
|
66
|
+
--primary: oklch(38.122% 0.21894 263.974);
|
|
67
|
+
--primary-foreground: oklch(0.97 0.014 254.604);
|
|
68
|
+
--secondary: oklch(0.274 0.006 286.033);
|
|
69
|
+
--secondary-foreground: oklch(0.985 0 0);
|
|
70
|
+
--muted: oklch(0.275 0.011 216.9);
|
|
71
|
+
--muted-foreground: oklch(0.723 0.014 214.4);
|
|
72
|
+
--accent: oklch(0.275 0.011 216.9);
|
|
73
|
+
--accent-foreground: oklch(0.987 0.002 197.1);
|
|
74
|
+
--destructive: oklch(0.704 0.191 22.216);
|
|
75
|
+
--border: oklch(1 0 0 / 10%);
|
|
76
|
+
--input: oklch(65.615% 0.04673 18.328 / 0.15);
|
|
77
|
+
--ring: oklch(0.56 0.021 213.5);
|
|
78
|
+
--chart-1: oklch(0.872 0.007 219.6);
|
|
79
|
+
--chart-2: oklch(0.56 0.021 213.5);
|
|
80
|
+
--chart-3: oklch(0.45 0.017 213.2);
|
|
81
|
+
--chart-4: oklch(0.378 0.015 216);
|
|
82
|
+
--chart-5: oklch(0.275 0.011 216.9);
|
|
83
|
+
--sidebar: oklch(0.218 0.008 223.9);
|
|
84
|
+
--sidebar-foreground: oklch(0.987 0.002 197.1);
|
|
85
|
+
--sidebar-primary: oklch(0.623 0.214 259.815);
|
|
86
|
+
--sidebar-primary-foreground: oklch(0.97 0.014 254.604);
|
|
87
|
+
--sidebar-accent: oklch(0.275 0.011 216.9);
|
|
88
|
+
--sidebar-accent-foreground: oklch(0.987 0.002 197.1);
|
|
89
|
+
--sidebar-border: oklch(1 0 0 / 10%);
|
|
90
|
+
--sidebar-ring: oklch(0.56 0.021 213.5);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@theme inline {
|
|
94
|
+
--font-sans: "Figtree Variable", sans-serif;
|
|
95
|
+
--color-sidebar-ring: var(--sidebar-ring);
|
|
96
|
+
--color-sidebar-border: var(--sidebar-border);
|
|
97
|
+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
98
|
+
--color-sidebar-accent: var(--sidebar-accent);
|
|
99
|
+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
100
|
+
--color-sidebar-primary: var(--sidebar-primary);
|
|
101
|
+
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
102
|
+
--color-sidebar: var(--sidebar);
|
|
103
|
+
--color-chart-5: var(--chart-5);
|
|
104
|
+
--color-chart-4: var(--chart-4);
|
|
105
|
+
--color-chart-3: var(--chart-3);
|
|
106
|
+
--color-chart-2: var(--chart-2);
|
|
107
|
+
--color-chart-1: var(--chart-1);
|
|
108
|
+
--color-ring: var(--ring);
|
|
109
|
+
--color-input: var(--input);
|
|
110
|
+
--color-border: var(--border);
|
|
111
|
+
--color-destructive: var(--destructive);
|
|
112
|
+
--color-accent-foreground: var(--accent-foreground);
|
|
113
|
+
--color-accent: var(--accent);
|
|
114
|
+
--color-muted-foreground: var(--muted-foreground);
|
|
115
|
+
--color-muted: var(--muted);
|
|
116
|
+
--color-secondary-foreground: var(--secondary-foreground);
|
|
117
|
+
--color-secondary: var(--secondary);
|
|
118
|
+
--color-primary-foreground: var(--primary-foreground);
|
|
119
|
+
--color-primary: var(--primary);
|
|
120
|
+
--color-popover-foreground: var(--popover-foreground);
|
|
121
|
+
--color-popover: var(--popover);
|
|
122
|
+
--color-card-foreground: var(--card-foreground);
|
|
123
|
+
--color-card: var(--card);
|
|
124
|
+
--color-foreground: var(--foreground);
|
|
125
|
+
--color-background: var(--background);
|
|
126
|
+
--radius-sm: calc(var(--radius) * 0.6);
|
|
127
|
+
--radius-md: calc(var(--radius) * 0.8);
|
|
128
|
+
--radius-lg: var(--radius);
|
|
129
|
+
--radius-xl: calc(var(--radius) * 1.4);
|
|
130
|
+
--radius-2xl: calc(var(--radius) * 1.8);
|
|
131
|
+
--radius-3xl: calc(var(--radius) * 2.2);
|
|
132
|
+
--radius-4xl: calc(var(--radius) * 2.6);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
@layer base {
|
|
136
|
+
* {
|
|
137
|
+
@apply border-border outline-ring/50;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
body {
|
|
141
|
+
@apply bg-background text-foreground;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
html {
|
|
145
|
+
@apply font-sans;
|
|
146
|
+
}
|
|
147
|
+
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LoginVariant, LoginRequestDto, LinkProps, PageLoginProps } from "../components/pages/login/types";
|
|
2
|
-
import type { ForgetPasswordVariant, ForgetPasswordRequestDto, PageForgetPasswordProps } from "../components/pages/forget-password/types";
|
|
3
|
-
import type { ResetPasswordRequestDto, PageResetPasswordProps } from "../components/pages/reset-password/types";
|
|
4
|
-
import type { OtpVerificationRequestDto, PageOtpVerificationProps } from "../components/pages/otp-verification/types";
|
|
1
|
+
import type { LoginVariant, LoginRequestDto, LinkProps, PageLoginProps } from "../components/pages/security/login/types";
|
|
2
|
+
import type { ForgetPasswordVariant, ForgetPasswordRequestDto, PageForgetPasswordProps } from "../components/pages/security/forget-password/types";
|
|
3
|
+
import type { ResetPasswordRequestDto, PageResetPasswordProps } from "../components/pages/security/reset-password/types";
|
|
4
|
+
import type { OtpVerificationRequestDto, PageOtpVerificationProps } from "../components/pages/security/otp-verification/types";
|
|
5
5
|
export type {
|
|
6
6
|
/** Dados necessários para autenticação de um utilizador. @see LoginRequestDto */
|
|
7
7
|
LoginRequestDto,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "negodesign",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -52,26 +52,21 @@
|
|
|
52
52
|
"@dnd-kit-svelte/svelte": "^0.1.6",
|
|
53
53
|
"@dnd-kit/abstract": "^0.5.0",
|
|
54
54
|
"@dnd-kit/helpers": "^0.5.0",
|
|
55
|
-
"@hugeicons/core-free-icons": "^4.2.3",
|
|
56
|
-
"@hugeicons/svelte": "^1.1.4",
|
|
57
55
|
"@internationalized/date": "^3.12.2",
|
|
58
|
-
"@lucide/svelte": "^1.27.0",
|
|
59
56
|
"@tanstack/table-core": "^8.21.3",
|
|
60
57
|
"@types/country-flag-icons": "^1.2.2",
|
|
61
58
|
"@types/d3-scale": "^4.0.9",
|
|
62
59
|
"@types/d3-shape": "^3.1.8",
|
|
63
|
-
"bits-ui": "^2.18.1",
|
|
64
|
-
"clsx": "^2.1.1",
|
|
65
60
|
"country-flag-icons": "^1.6.20",
|
|
66
61
|
"d3-scale": "^4.0.2",
|
|
67
62
|
"d3-shape": "^3.2.0",
|
|
63
|
+
"embla-carousel-autoplay": "^8.6.0",
|
|
68
64
|
"layerchart": "^2.0.0-next.48",
|
|
69
65
|
"mode-watcher": "^1.1.0",
|
|
70
66
|
"runed": "^0.37.1",
|
|
71
67
|
"svelte-sonner": "^1.1.1",
|
|
72
|
-
"svelte-toolbelt": "^0.10.6",
|
|
73
68
|
"svelte-tel-input": "^4.3.2",
|
|
74
|
-
"
|
|
69
|
+
"svelte-toolbelt": "^0.10.6",
|
|
75
70
|
"tailwind-variants": "^3.3.0",
|
|
76
71
|
"vaul-svelte": "^1.0.0-next.7",
|
|
77
72
|
"zod": "^4.4.3"
|
|
@@ -79,6 +74,9 @@
|
|
|
79
74
|
"devDependencies": {
|
|
80
75
|
"@eslint/js": "^10.0.1",
|
|
81
76
|
"@fontsource-variable/figtree": "^5.3.0",
|
|
77
|
+
"@hugeicons/core-free-icons": "^4.2.3",
|
|
78
|
+
"@hugeicons/svelte": "^1.1.4",
|
|
79
|
+
"@lucide/svelte": "^1.28.0",
|
|
82
80
|
"@sveltejs/adapter-auto": "^7.0.1",
|
|
83
81
|
"@sveltejs/adapter-node": "^5.5.7",
|
|
84
82
|
"@sveltejs/kit": "^2.63.0",
|
|
@@ -90,7 +88,10 @@
|
|
|
90
88
|
"@tailwindcss/vite": "^4.3.0",
|
|
91
89
|
"@types/node": "^22",
|
|
92
90
|
"@vitest/browser-playwright": "^4.1.8",
|
|
91
|
+
"bits-ui": "^2.18.1",
|
|
92
|
+
"clsx": "^2.1.1",
|
|
93
93
|
"country-flag-icons": "^1.6.20",
|
|
94
|
+
"embla-carousel-svelte": "^8.6.0",
|
|
94
95
|
"eslint": "^10.4.1",
|
|
95
96
|
"eslint-plugin-svelte": "^3.19.0",
|
|
96
97
|
"globals": "^17.6.0",
|
|
@@ -100,6 +101,7 @@
|
|
|
100
101
|
"svelte-check": "^4.6.0",
|
|
101
102
|
"svelte-preprocess": "^6.0.5",
|
|
102
103
|
"svelte-tel-input": "^4.3.2",
|
|
104
|
+
"tailwind-merge": "^3.6.0",
|
|
103
105
|
"tailwindcss": "^4.3.0",
|
|
104
106
|
"tw-animate-css": "^1.4.0",
|
|
105
107
|
"typescript": "^6.0.3",
|
|
@@ -108,4 +110,4 @@
|
|
|
108
110
|
"vitest": "^4.1.8",
|
|
109
111
|
"vitest-browser-svelte": "^2.1.1"
|
|
110
112
|
}
|
|
111
|
-
}
|
|
113
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type CarouselItemType = "NUMBER" | "DOT" | "POINTER";
|
|
2
|
-
export interface CarouselItem {
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
buttonText: string;
|
|
6
|
-
buttonUrl?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface CarouselProps {
|
|
9
|
-
items: CarouselItem[];
|
|
10
|
-
varient: CarouselItemType;
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { NavMenuItem } from "../data/nav-menu-sidebar";
|
|
2
|
-
type $$ComponentProps = {
|
|
3
|
-
items: NavMenuItem[];
|
|
4
|
-
};
|
|
5
|
-
declare const NavMenuBar: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
6
|
-
type NavMenuBar = ReturnType<typeof NavMenuBar>;
|
|
7
|
-
export default NavMenuBar;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as Sidebar from "../../../ui/sidebar/index.js";
|
|
2
|
-
import type { WithoutChildren } from "../../../../utils.js";
|
|
3
|
-
import type { ComponentProps } from "svelte";
|
|
4
|
-
import type { NavMenuSidebar } from "../data/nav-menu-sidebar";
|
|
5
|
-
type $$ComponentProps = {
|
|
6
|
-
items?: NavMenuSidebar[];
|
|
7
|
-
} & WithoutChildren<ComponentProps<typeof Sidebar.Group>>;
|
|
8
|
-
declare const NavMenuBottomBar: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
-
type NavMenuBottomBar = ReturnType<typeof NavMenuBottomBar>;
|
|
10
|
-
export default NavMenuBottomBar;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type $$ComponentProps = {
|
|
2
|
-
teams: {
|
|
3
|
-
name: string;
|
|
4
|
-
logo: any;
|
|
5
|
-
plan: string;
|
|
6
|
-
}[];
|
|
7
|
-
};
|
|
8
|
-
declare const NavMenuHeader: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
9
|
-
type NavMenuHeader = ReturnType<typeof NavMenuHeader>;
|
|
10
|
-
export default NavMenuHeader;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Snippet } from "svelte";
|
|
2
|
-
import type { AuthFormType, LoginRequestDto, LinkProps } from "../../types";
|
|
3
|
-
/**
|
|
4
|
-
* Card de autenticação com abas login/register.
|
|
5
|
-
* @property {AuthFormType} formType - Tipo do form (EMAIL_PASSWORD, USERNAME_PASSWORD, PHONE_PASSWORD)
|
|
6
|
-
* @property {(cred: Credential) => void} onSubmit - Callback ao submeter credenciais
|
|
7
|
-
* @property {Snippet} register - Snippet do form de registro (opcional, exibe aba Register)
|
|
8
|
-
* @property {LinkProps} privacyPolicy - Config do link de privacidade { url, onclick }
|
|
9
|
-
* @property {LinkProps} termsOfService - Config do link de termos { url, onclick }
|
|
10
|
-
*/
|
|
11
|
-
type Props = {
|
|
12
|
-
formType?: AuthFormType;
|
|
13
|
-
onSubmit?: (credential: LoginRequestDto) => void;
|
|
14
|
-
register?: Snippet;
|
|
15
|
-
forgetPassword?: LinkProps;
|
|
16
|
-
privacyPolicy?: LinkProps;
|
|
17
|
-
termsOfService?: LinkProps;
|
|
18
|
-
};
|
|
19
|
-
declare const LoginCard: import("svelte").Component<Props, {}, "">;
|
|
20
|
-
type LoginCard = ReturnType<typeof LoginCard>;
|
|
21
|
-
export default LoginCard;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { PageLoginProps } from "./types";
|
|
3
|
-
import PageLogin01 from "./01/ui/PageLogin01.svelte";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Página de login principal.
|
|
7
|
-
* @property {"01"} varient - Variante do layout de login
|
|
8
|
-
* @property {CarouselItem[]} carousel - Itens do carousel hero
|
|
9
|
-
* @property {string} title - Título do hero
|
|
10
|
-
* @property {AuthFormType} formType - Tipo do form (EMAIL_PASSWORD, USERNAME_PASSWORD, PHONE_PASSWORD)
|
|
11
|
-
* @property {LinkProps} privacyPolicy - Config do link de política de privacidade
|
|
12
|
-
* @property {LinkProps} termsOfService - Config do link de termos de serviço
|
|
13
|
-
*/
|
|
14
|
-
type Props = {
|
|
15
|
-
varient?: "01";
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
let { ...props }: PageLoginProps & Props = $props();
|
|
19
|
-
</script>
|
|
20
|
-
|
|
21
|
-
<PageLogin01 {...props} />
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { PageLoginProps } from "./types";
|
|
2
|
-
/**
|
|
3
|
-
* Página de login principal.
|
|
4
|
-
* @property {"01"} varient - Variante do layout de login
|
|
5
|
-
* @property {CarouselItem[]} carousel - Itens do carousel hero
|
|
6
|
-
* @property {string} title - Título do hero
|
|
7
|
-
* @property {AuthFormType} formType - Tipo do form (EMAIL_PASSWORD, USERNAME_PASSWORD, PHONE_PASSWORD)
|
|
8
|
-
* @property {LinkProps} privacyPolicy - Config do link de política de privacidade
|
|
9
|
-
* @property {LinkProps} termsOfService - Config do link de termos de serviço
|
|
10
|
-
*/
|
|
11
|
-
type Props = {
|
|
12
|
-
varient?: "01";
|
|
13
|
-
};
|
|
14
|
-
type $$ComponentProps = PageLoginProps & Props;
|
|
15
|
-
declare const PageLogin: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
16
|
-
type PageLogin = ReturnType<typeof PageLogin>;
|
|
17
|
-
export default PageLogin;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { CarouselItem, CarouselItemType } from "../../core/carousel/data/CarouselModel";
|
|
2
|
-
import type { Snippet } from "svelte";
|
|
3
|
-
export type AuthFormType = "EMAIL_PASSWORD" | "PHONE_PASSWORD" | "USERNAME_PASSWORD";
|
|
4
|
-
export type LoginVariant = "EMAIL" | "USERNAME" | "PHONE";
|
|
5
|
-
export type LoginRequestDto = {
|
|
6
|
-
password: string;
|
|
7
|
-
data: string;
|
|
8
|
-
};
|
|
9
|
-
export type LinkProps = {
|
|
10
|
-
url?: string;
|
|
11
|
-
onclick?: () => void;
|
|
12
|
-
};
|
|
13
|
-
export type PageLoginProps = {
|
|
14
|
-
carousel?: CarouselItem[];
|
|
15
|
-
varient?: CarouselItemType;
|
|
16
|
-
title?: string;
|
|
17
|
-
children?: Snippet;
|
|
18
|
-
formType?: AuthFormType;
|
|
19
|
-
onSubmit?: (credential: LoginRequestDto) => void;
|
|
20
|
-
forgetPassword?: LinkProps;
|
|
21
|
-
privacyPolicy?: LinkProps;
|
|
22
|
-
termsOfService?: LinkProps;
|
|
23
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/components/core/nav/ui/{nav-menu-header.svelte → nav-menu-header-sidebar.svelte}
RENAMED
|
File without changes
|
/package/dist/components/core/nav/ui/{nav-menu-top-bar.svelte → nav-menu-top-bar-sidebar.svelte}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|